Make sure the tip is always visible when the loading screen is removed

This commit is contained in:
yflory
2017-03-14 12:49:22 +01:00
parent bc35fc86cf
commit f10149db1c
3 changed files with 4 additions and 1 deletions

View File

@@ -911,9 +911,10 @@ define([
};
common.removeLoadingScreen = function (cb) {
$('#' + LOADING).fadeOut(750, cb);
$('#loadingTip').css('top', '');
window.setTimeout(function () {
$('#loadingTip').fadeOut(750);
}, 2000);
}, 3000);
};
common.errorLoadingScreen = function (error, transparent) {
if (!$('#' + LOADING).is(':visible')) { common.addLoadingScreen(); }