mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-01 03:48:04 +00:00
Optimize select2 import
This commit is contained in:
parent
092ace8432
commit
40c623b202
3
core/static/webpack/jquery-index.js
vendored
3
core/static/webpack/jquery-index.js
vendored
@ -13,6 +13,9 @@ require("jquery-ui/ui/widgets/tabs.js");
|
|||||||
|
|
||||||
require("jquery-ui/themes/base/all.css");
|
require("jquery-ui/themes/base/all.css");
|
||||||
|
|
||||||
|
// We ship select2 here, otherwise it will duplicate jquery everywhere we load it
|
||||||
|
import "select2";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple wrapper to solve shorten not being able on legacy pages
|
* Simple wrapper to solve shorten not being able on legacy pages
|
||||||
* @param {string} selector to be passed to jQuery
|
* @param {string} selector to be passed to jQuery
|
||||||
|
@ -142,7 +142,6 @@
|
|||||||
* </script>
|
* </script>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "select2";
|
|
||||||
import type {
|
import type {
|
||||||
AjaxOptions,
|
AjaxOptions,
|
||||||
DataFormat,
|
DataFormat,
|
||||||
|
Loading…
Reference in New Issue
Block a user