initial commit
This commit is contained in:
12
static/js/custom.js
Normal file
12
static/js/custom.js
Normal file
@@ -0,0 +1,12 @@
|
||||
$(document).on('click', '.modal-dismiss', function (e) {
|
||||
e.preventDefault();
|
||||
$.magnificPopup.close();
|
||||
});
|
||||
|
||||
$(document).on('click', '.clickable-row', function() {
|
||||
Turbolinks.visit($(this).data('href'));
|
||||
});
|
||||
|
||||
$(document).on('turbolinks:before-cache', function() {
|
||||
$('form').trigger('reset')
|
||||
});
|
Reference in New Issue
Block a user