浏览代码

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 {