diff --git a/assets/js/scripts.js b/assets/js/scripts.js index 4117304..f042acf 100644 --- a/assets/js/scripts.js +++ b/assets/js/scripts.js @@ -329,7 +329,8 @@ $(function() { // Select2 if(jQuery().select2) { - $(".select2").select2(); + const select2Opts = $(".select2").data('select2-opts') + $(".select2").select2(select2Opts || {}); } // Selectric