Check the cookie onload

This commit is contained in:
Amauri CHAMPEAUX 2015-01-13 18:45:49 +01:00
parent 3784a8efff
commit 20402973b0
1 changed files with 2 additions and 0 deletions

View File

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