소스 검색

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

Amauri CHAMPEAUX 4 년 전
부모
커밋
1ef432cb79
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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";