From 04f50dd9c49de18e4603d012d8cfbdb95240503a Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 2 May 2022 19:24:27 +0200 Subject: [PATCH] wait #5271 @0.5 --- js/libs/fluidbook/fluidbook.zoom.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.zoom.js b/js/libs/fluidbook/fluidbook.zoom.js index e56bce20..eb289ad0 100644 --- a/js/libs/fluidbook/fluidbook.zoom.js +++ b/js/libs/fluidbook/fluidbook.zoom.js @@ -345,12 +345,13 @@ FluidbookZoom.prototype = { this.fluidbook.help.hide(); // Hide the help view if it's showing } $("#shadow").addClass('hidden'); - if (!$('header').hasClass('hidden')) { - $(hiddenElements).addClass('hidden'); - this.hideInterfaceTimeout = setTimeout(function () { - $(hiddenElements).hide(); - }, 500); - } + + $(hiddenElements).addClass('hidden'); + clearTimeout(this.hideInterfaceTimeout); + this.hideInterfaceTimeout = setTimeout(function () { + $(hiddenElements).hide(); + }, 500); + } else { clearTimeout(this.hideInterfaceTimeout); $(hiddenElements).show().removeClass('hidden'); -- 2.39.5