Ver código fonte

Check the cookie onload

Amauri CHAMPEAUX 10 anos atrás
pai
commit
20402973b0
1 arquivos alterados com 2 adições e 0 exclusões
  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