diff --git a/resources/assets/js/forms.js b/resources/assets/js/forms.js index 323b6290..0d96f280 100644 --- a/resources/assets/js/forms.js +++ b/resources/assets/js/forms.js @@ -199,9 +199,11 @@ $(function () { }); }); -$('select').select2({ - theme: 'bootstrap-5', -}); +$(function () { + $('select').select2({ + theme: 'bootstrap-5', + }); +}) /** * Show oauth buttons on welcome title click