make startup faster
This commit is contained in:
parent
cf0e397e80
commit
1aa0d51b4e
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue