Commit 0654c90e4b5da8521ba19777835c716e58d7ef95

Authored by Alex Savenko
1 parent f4d57967

cookie

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
src/app/frontend/views/index.php
... ... @@ -270,8 +270,7 @@ $page_title = isset( $page_title ) && !empty( $page_title ) ? $page_title : '';
270 270 $(document).ready(function(){
271 271 function getCookie(a) {var b = new RegExp(a+'=([^;]){1,}');var c = b.exec(document.cookie);if(c) c = c[0].split('=');else return false;return c[1] ? c[1] : false;}
272 272 var cookie = getCookie('popup');
273   - alert(document.cookie);
274   - if (cookie != '1') {
  273 + if (cookie !== '1') {
275 274 setTimeout(function(){$(".open-delivery-modal").show();},1000);
276 275 }
277 276 });
... ...