Ver código fonte

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

Amauri CHAMPEAUX 4 anos atrás
pai
commit
1ef432cb79
1 arquivos alterados com 4 adições e 0 exclusões
  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";