Explicitly import jQuery

This commit is contained in:
Paul Chavard 2018-08-09 11:53:59 +02:00
parent 980d89dcac
commit 008d84f107
18 changed files with 28 additions and 12 deletions

View file

@ -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);