Przeglądaj źródła

Check the cookie onload

Amauri CHAMPEAUX 10 lat temu
rodzic
commit
20402973b0
1 zmienionych plików z 2 dodań i 0 usunięć
  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