fix private tournament without password
parent
29a87c20de
commit
f2c1d5178c
|
@ -24,7 +24,7 @@ function join(ctrl) {
|
|||
onclick: function() {
|
||||
if (ctrl.data.private) {
|
||||
var p = prompt('Password');
|
||||
if (p) ctrl.join(p);
|
||||
if (p !== null) ctrl.join(p);
|
||||
} else ctrl.join();
|
||||
}
|
||||
}, ctrl.trans('join'));
|
||||
|
|
Loading…
Reference in New Issue