1
0
mirror of https://github.com/stisla/stisla.git synced 2025-08-31 03:50:11 +02:00

Merge pull request #245 from sensasi-delight/add-select2-opts

add select2 options
This commit is contained in:
Saugi
2022-11-05 05:05:10 +07:00
committed by GitHub

View File

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