From 1bfd5609a5568753816c08fc0b8a50addb02a72c Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 22 May 2018 22:09:18 +1000 Subject: [PATCH] Using @js instead of script, minor fixes --- .../adminlte/views/layouts/partials/htmlheader.blade.php | 8 +------- .../adminlte/views/layouts/partials/scripts.blade.php | 4 ++-- .../adminlte/views/layouts/partials/sidebar.blade.php | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php index e2e9eac..bc8100b 100644 --- a/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/htmlheader.blade.php @@ -29,13 +29,7 @@ echo json_encode($trans); @endphp - - {!! Asset::styles() !!} - \ No newline at end of file + diff --git a/resources/themes/adminlte/views/layouts/partials/scripts.blade.php b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php index 2418e71..751f8c4 100644 --- a/resources/themes/adminlte/views/layouts/partials/scripts.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/scripts.blade.php @@ -9,5 +9,5 @@ Both of these plugins are recommended to enhance the user experience. Slimscroll is required when using the fixed layout. --> -@js('site/js/jquery.slimscroll.min.js','jq.slimscroll'); -@js('site/js/fastclick.min.js','jq.fastclick'); \ No newline at end of file +@js('/site/js/jquery.slimscroll.min.js','jq.slimscroll'); +@js('/site/js/fastclick.min.js','jq.fastclick'); diff --git a/resources/themes/adminlte/views/layouts/partials/sidebar.blade.php b/resources/themes/adminlte/views/layouts/partials/sidebar.blade.php index 43074fe..73f8b82 100644 --- a/resources/themes/adminlte/views/layouts/partials/sidebar.blade.php +++ b/resources/themes/adminlte/views/layouts/partials/sidebar.blade.php @@ -37,7 +37,7 @@ @section('page-scripts') - + @js('/site/js/bootstrap3-typeahead.min.js','bs-typeahead')