mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Ternary are cooler than creating new variables
This commit is contained in:
@@ -146,8 +146,7 @@ function remove_bar()
|
|||||||
|
|
||||||
function shuffle()
|
function shuffle()
|
||||||
{
|
{
|
||||||
var pass_to_send = adminpass !== undefined ? adminpass : "";
|
socket.emit('shuffle', adminpass !== undefined ? adminpass : "");
|
||||||
socket.emit('shuffle', pass_to_send);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function rnd(arr)
|
function rnd(arr)
|
||||||
|
|||||||
Reference in New Issue
Block a user