소스 검색

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