Optimize select2 import

This commit is contained in:
klmp200 authored and Bartuccio Antoine committed 2024-10-13 10:55:15 +02:00
1 parent 092ace8432
commit 40c623b202
2 files changed
+3 -1

No files matched your search

+3
View File
@@ -13,6 +13,9 @@ require("jquery-ui/ui/widgets/tabs.js");
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
* @param {string} selector to be passed to jQuery
-1
View File
@@ -142,7 +142,6 @@
* </script>
*/
import "select2";
import type {
AjaxOptions,
DataFormat,