fix private tournament without password

pull/2236/head
Thibault Duplessis 2016-09-06 09:46:46 +02:00
parent 29a87c20de
commit f2c1d5178c
1 changed files with 1 additions and 1 deletions

View File

@ -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'));