make sure that /pad is resized after loading

This commit is contained in:
ansuz
2017-01-09 17:02:01 +01:00
parent 0abec4ddb3
commit 1c3f1a15cd
2 changed files with 12 additions and 8 deletions

View File

@@ -678,8 +678,8 @@ define([
$loading.append($container);
$('body').append($loading);
};
common.removeLoadingScreen = function () {
$('#' + LOADING).fadeOut(750);
common.removeLoadingScreen = function (cb) {
$('#' + LOADING).fadeOut(750, cb);
};
common.errorLoadingScreen = function (error) {
$('.spinnerContainer').hide();