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

pull/1/head
yflory 8 years ago
parent bc35fc86cf
commit f10149db1c

@ -397,6 +397,7 @@
font-family: lato, Helvetica, sans-serif;
padding: 15px;
max-width: 60%;
display: inline-block;
}
/* The container <div> - needed to position the dropdown content */
.dropdown-bar {

@ -45,5 +45,6 @@
font-family: lato, Helvetica, sans-serif;
padding: 15px;
max-width: 60%;
display: inline-block;
}
}

@ -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(); }

Loading…
Cancel
Save