From d25477e8c6cf279a617233734b5e567a7c273755 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 6 Jun 2017 18:08:23 +0200 Subject: [PATCH] don't let tooltips interfere with DOM interaction --- www/common/common-interface.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 19066b06f..5d1e01cc8 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -194,10 +194,16 @@ define([ }; UI.removeLoadingScreen = function (cb) { $('#' + LOADING).fadeOut(750, cb); - $('#loadingTip').css('top', '') + var $tip = $('#loadingTip').css('top', '') // loading.less sets transition-delay: $wait-time // and transition: opacity $fadeout-time - .css('opacity', 0); + .css({ + 'opacity': 0, + 'pointer-events': 'none', + }); + setTimeout(function () { + $tip.remove(); + }, 3750); // jquery.fadeout can get stuck }; UI.errorLoadingScreen = function (error, transparent) {