Loading js/choices.es6.js +6 −3 Original line number Diff line number Diff line ((Drupal, once) => { ((Drupal, once, Choices) => { /** * Provides Choices.js autocomplete plugin. */ Loading @@ -18,14 +18,17 @@ // Instantiate Choices.js. const config = JSON.parse(element.dataset.choices); config.loadingText = Drupal.theme("ajaxProgressThrobber", config.loadingText); config.loadingText = Drupal.theme( "ajaxProgressThrobber", config.loadingText ); this.choices = new Choices(element, { ...config, shouldSort: false, allowHTML: true, removeItemButton: true, classNames: { containerOuter: 'choices choices--autocomplete', containerOuter: "choices choices--autocomplete", item: "choices__item choices__item--autocomplete", }, }); Loading js/choices.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ allowHTML: true, removeItemButton: true, classNames: { containerOuter: 'choices choices--autocomplete', containerOuter: "choices choices--autocomplete", item: "choices__item choices__item--autocomplete" } }); Loading Loading
js/choices.es6.js +6 −3 Original line number Diff line number Diff line ((Drupal, once) => { ((Drupal, once, Choices) => { /** * Provides Choices.js autocomplete plugin. */ Loading @@ -18,14 +18,17 @@ // Instantiate Choices.js. const config = JSON.parse(element.dataset.choices); config.loadingText = Drupal.theme("ajaxProgressThrobber", config.loadingText); config.loadingText = Drupal.theme( "ajaxProgressThrobber", config.loadingText ); this.choices = new Choices(element, { ...config, shouldSort: false, allowHTML: true, removeItemButton: true, classNames: { containerOuter: 'choices choices--autocomplete', containerOuter: "choices choices--autocomplete", item: "choices__item choices__item--autocomplete", }, }); Loading
js/choices.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ allowHTML: true, removeItemButton: true, classNames: { containerOuter: 'choices choices--autocomplete', containerOuter: "choices choices--autocomplete", item: "choices__item choices__item--autocomplete" } }); Loading