소스 검색

Close tooltip when the main panel is closed

Amauri CHAMPEAUX 10 년 전
부모
커밋
67f9155099
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      tarteaucitron.js

+ 4 - 0
tarteaucitron.js

@@ -593,6 +593,10 @@ var tarteaucitron = {
             tarteaucitron.userInterface.css('tarteaucitron', 'display', 'none');
             tarteaucitron.userInterface.css('tarteaucitronCookiesListContainer', 'display', 'none');
             
+            tarteaucitron.fallback(['tarteaucitronInfoBox'], function (elem) {
+                elem.style.display = 'none';
+            }, true);
+            
             if (tarteaucitron.reloadThePage === true) {
                 window.location.reload();
             } else {