make startup faster

This commit is contained in:
ali asaria 2014-10-12 13:33:43 -04:00
parent cf0e397e80
commit 1aa0d51b4e

View file

@ -40,7 +40,7 @@ socket.on('message', function(data) {
}); });
function unblockUI() { function unblockUI() {
$.unblockUI(); $.unblockUI({fadeOut: 50});
} }
function blockUI(message) { function blockUI(message) {
@ -58,7 +58,10 @@ function blockUI(message) {
opacity: 0.5, opacity: 0.5,
color: '#fff', color: '#fff',
fontSize: '20px' fontSize: '20px'
} },
fadeOut: 0,
fadeIn: 10
}); });
} }
@ -385,7 +388,8 @@ function initCards(cardArray) {
card.y, card.y,
card.rot, card.rot,
card.colour, card.colour,
card.sticker card.sticker,
0
); );
} }