Просмотр исходного кода

Close tooltip when the main panel is closed

Amauri CHAMPEAUX 10 лет назад
Родитель
Сommit
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 {