From 1c35f71a4b72d3b190722ab4049134fd40591829 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 4 Dec 2024 13:47:20 +1100 Subject: [PATCH] Make autofocus default for select2 dropdowns --- app/Helpers/PageAssets.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Helpers/PageAssets.php b/app/Helpers/PageAssets.php index 7befee0..25ea635 100644 --- a/app/Helpers/PageAssets.php +++ b/app/Helpers/PageAssets.php @@ -113,13 +113,9 @@ class PageAssets ], 'js' => [ '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js', - ], - ], - 'autofocus' => [ - 'js' => [ '/plugin/select2/fix-autofocus.js', ], - ] + ], ], 'simplemde' => [ 'base' => [