Include select2 from the file where it is used
This commit is contained in:
parent
a362e77b82
commit
a17fb60aea
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import $ from 'jquery';
|
||||
import 'select2';
|
||||
|
||||
addEventListener('turbolinks:load', () => {
|
||||
$('select.select2').select2({
|
|
@ -10,7 +10,6 @@ import jQuery from 'jquery';
|
|||
// required by the browsers we support will be included.
|
||||
import 'babel-polyfill';
|
||||
|
||||
import 'select2';
|
||||
import 'typeahead.js';
|
||||
|
||||
import '../shared/sentry';
|
||||
|
@ -20,10 +19,10 @@ import '../shared/champs/address';
|
|||
import '../new_design/buttons';
|
||||
import '../new_design/form-validation';
|
||||
import '../new_design/carto';
|
||||
import '../new_design/select2';
|
||||
|
||||
import '../new_design/champs/dossier-link';
|
||||
import '../new_design/champs/linked-drop-down-list';
|
||||
import '../new_design/champs/multiple-drop-down-list';
|
||||
import '../new_design/champs/siret';
|
||||
|
||||
import { toggleCondidentielExplanation } from '../new_design/avis';
|
||||
|
|
Loading…
Reference in a new issue