don't let tooltips interfere with DOM interaction

This commit is contained in:
ansuz 2017-06-06 18:08:23 +02:00
parent 811d031ffd
commit d25477e8c6

View file

@ -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) {