浏览代码

Check the cookie onload

Amauri CHAMPEAUX 10 年之前
父节点
当前提交
20402973b0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tarteaucitron.js

+ 2 - 0
tarteaucitron.js

@@ -255,6 +255,8 @@ var tarteaucitron = {
                     if (tarteaucitron.state[service.key] === undefined && !alert) {
                         alert = true;
                     }
+                    
+                    tarteaucitron.cookie.checkCount(service.key);
                 }
 
                 // Step 5: display the alert