From 20402973b089ce32ac0f056aa07ab74cdc4086ba Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Tue, 13 Jan 2015 18:45:49 +0100 Subject: [PATCH] Check the cookie onload --- tarteaucitron.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tarteaucitron.js b/tarteaucitron.js index 6e56f95..36f38df 100644 --- a/tarteaucitron.js +++ b/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