Explicitly import jQuery
This commit is contained in:
parent
980d89dcac
commit
008d84f107
18 changed files with 28 additions and 12 deletions
|
@ -1,6 +1,5 @@
|
|||
// Administrate injects its own copy of jQuery, and it is the one
|
||||
// configured by rails to send csrf-token
|
||||
const $ = window.$;
|
||||
// Administrate injects its own copy of jQuery
|
||||
/* globals $ */
|
||||
|
||||
$(document).on('change', '#features input[type=checkbox]', ({ target }) => {
|
||||
target = $(target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue