Browse Source

Check the cookie onload

Amauri CHAMPEAUX 10 năm trước cách đây
mục cha
commit
20402973b0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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