diff --git a/content/master.blade.php b/content/master.blade.php index 3bc7ba2..d0f54ed 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -33,7 +33,7 @@ Areya Energy
- Balkonkraftwerke + Balkonkraftwerke
Zubehör @@ -89,13 +89,13 @@
- @yield('content') @@ -161,6 +161,9 @@ updateProductsInLocalStorage(); } $(window).on('load', function(){ + if(localStorage.getItem("dismiss-message") == 1) $('.alert-dismissible').remove(); + else $('.alert-dismissible').show(); + $('#btn-close-message').click(function(){ localStorage.setItem("dismiss-message", 1); }); if(localStorage.getItem("products") != null) objProducts = JSON.parse(localStorage.getItem("products")); updateProductsInLocalStorage(); $(document).on('click', '.btn-remove-product', function(){