Bladeren bron

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

Amauri CHAMPEAUX 4 jaren geleden
bovenliggende
commit
1ef432cb79
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      tarteaucitron.js

+ 4 - 0
tarteaucitron.js

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