Browse Source

Close tooltip when the main panel is closed

Amauri CHAMPEAUX 10 years ago
parent
commit
67f9155099
1 changed files with 4 additions and 0 deletions
  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 {