Make sure the content is correctly applied in onReady

This commit is contained in:
yflory
2017-02-24 18:55:41 +01:00
parent 42b6cca18d
commit 5303e76ece
2 changed files with 14 additions and 1 deletions

View File

@@ -812,6 +812,7 @@ define([
$('#' + LOADING).fadeOut(750, cb);
};
common.errorLoadingScreen = function (error, transparent) {
if (!$('#' + LOADING).is(':visible')) { common.addLoadingScreen(); }
$('.spinnerContainer').hide();
if (transparent) { $('#' + LOADING).css('opacity', 0.8); }
$('#' + LOADING).find('p').html(error || Messages.error);