File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,11 @@ function bootstrap5_lite_js_alter(&$js) {
8787 if ($ cdn_version ) {
8888 if ($ cdn_version == 'module ' ) {
8989 // Use bundled library
90- $ js_src = ' / ' . $ theme_path . '/bootstrap/js/bootstrap.min.js ' ;
90+ $ js_src = $ theme_path . '/bootstrap/js/bootstrap.min.js ' ;
9191 $ js [$ js_src ] = array (
9292 'data ' => $ js_src ,
9393 'type ' => 'file ' ,
9494 'every_page ' => TRUE ,
95- 'every_page_weight ' => -1 ,
96- 'weight ' => -100 ,
9795 ) + backdrop_js_defaults ();
9896 }
9997 else {
@@ -103,8 +101,6 @@ function bootstrap5_lite_js_alter(&$js) {
103101 'data ' => $ js_src ,
104102 'type ' => 'external ' ,
105103 'every_page ' => TRUE ,
106- 'every_page_weight ' => -1 ,
107- 'weight ' => -100 ,
108104 ) + backdrop_js_defaults ();
109105 }
110106 }
You can’t perform that action at this time.
0 commit comments