Browse Source

Reload the page if user click "deny all" after accept some on the panel

Amauri CHAMPEAUX 4 years ago
parent
commit
1ef432cb79
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tarteaucitron.js

+ 4 - 0
tarteaucitron.js

@@ -1139,6 +1139,10 @@ var tarteaucitron = {
             //end ie compatibility
 
             window.dispatchEvent(tacCloseAlertEvent);
+
+            if (tarteaucitron.reloadThePage === true) {
+                window.location.reload();
+            }
         },
         "toggleCookiesList": function () {
             "use strict";