From 67f9155099354b50d3b87723b9b71822238aeef9 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Wed, 11 Mar 2015 17:38:26 +0100 Subject: [PATCH] Close tooltip when the main panel is closed --- tarteaucitron.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tarteaucitron.js b/tarteaucitron.js index 07bd566..098742b 100644 --- a/tarteaucitron.js +++ b/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 {