diff --git a/src/resources/views/layout.blade.php b/src/resources/views/layout.blade.php
index f6c6051e..2d93ca83 100644
--- a/src/resources/views/layout.blade.php
+++ b/src/resources/views/layout.blade.php
@@ -13,6 +13,7 @@
@yield('before_styles')
+ @stack('before_styles')
@@ -32,6 +33,7 @@
@yield('after_styles')
+ @stack('after_styles')
@@ -109,6 +111,7 @@
@yield('before_scripts')
+ @stack('before_scripts')
@@ -140,7 +143,7 @@
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
-
+
// Set active state on menu element
var current_url = "{{ Request::fullUrl() }}";
var full_url = current_url+location.search;
@@ -155,7 +158,7 @@ function() { return $(this).attr('href') === full_url; }
function() { return $(this).attr('href').startsWith(current_url) || current_url.startsWith($(this).attr('href')); }
);
}
-
+
$curentPageLink.parents('li').addClass('active');
{{-- Enable deep link to tab --}}
var activeTab = $('[href="' + location.hash.replace("#", "#tab_") + '"]');
@@ -168,6 +171,7 @@ function() { return $(this).attr('href').startsWith(current_url) || current_url.
@include('backpack::inc.alerts')
@yield('after_scripts')
+ @stack('after_scripts')
{{-- --}}