1
0
mirror of https://github.com/stisla/stisla.git synced 2025-08-29 19:09:54 +02:00

chore(select2): add select2 opts

This commit is contained in:
Zain Adam
2022-11-05 02:37:46 +07:00
parent 4f2f1eee34
commit c5df831d5d

View File

@@ -329,7 +329,8 @@ $(function() {
// Select2
if(jQuery().select2) {
$(".select2").select2();
const select2Opts = $(".select2").data('select2-opts')
$(".select2").select2(select2Opts || {});
}
// Selectric