fix lobby bug

This commit is contained in:
Thibault Duplessis 2013-06-10 17:01:21 +02:00
parent 3b95dbb5b2
commit 40a0d4bcaa
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import controllers.routes
trait AssetHelper {
val assetVersion = 59
val assetVersion = 61
def cssTag(name: String) = css("stylesheets/" + name)

View file

@ -2257,7 +2257,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
var hook = $(this).data('hook');
if (hook.action == 'register') {
if (confirm($.trans('This game is rated') + '.\n' + $.trans('You need an account to do that') + '.')) location.href = '/signup';
else return;
return;
}
if (confirm960(hook)) {
lichess.socket.send(hook.action, hook.id);