bugfix in cart
parent
284397ca1f
commit
3d42690169
|
@ -1,4 +1,7 @@
|
|||
$(window).on('load', function () {
|
||||
$.ajaxSetup({
|
||||
headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') },
|
||||
});
|
||||
if (localStorage.getItem("dismiss-message") == 1) $('.alert-dismissible').remove();
|
||||
else $('.alert-dismissible').show();
|
||||
$('#btn-close-message').click(function () { localStorage.setItem("dismiss-message", 1); });
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="{{str_replace('_', '-', app()->getLocale())}}">
|
||||
<head>
|
||||
<meta name="csrf-token" content="{{csrf_token()}}"/>
|
||||
<meta name="checkout" content="{{url('/checkout')}}">
|
||||
<meta name="get-contents" content="{{url('/api/contents')}}">
|
||||
<link rel="icon" type="image/x-icon" href="{{storage('assets/images/favicon.ico')}}">
|
||||
|
|
Loading…
Reference in New Issue