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

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

No files matched your search

+2 -1
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(); }