Commit a48a9f56e99a23da9d803aed318c1b84ac2a010c
1 parent
0654c90e
cookie
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/app/frontend/views/index.php
... | ... | @@ -270,6 +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(cookie); | |
273 | 274 | if (cookie !== '1') { |
274 | 275 | setTimeout(function(){$(".open-delivery-modal").show();},1000); |
275 | 276 | } | ... | ... |