fix game chat in analysis mode

pull/83/head
Thibault Duplessis 2013-06-07 16:38:40 +02:00
parent 64291c2eaf
commit 4b0c014a0c
2 changed files with 5 additions and 1 deletions

View File

@ -2289,6 +2289,11 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
SetImagePath("/assets/vendor/pgn4web/lichess/64"); // use "" path if images are in the same folder as this javascript file
SetImageType("png");
SetShortcutKeysEnabled(true);
$('input').on('focus', function() {
SetShortcutKeysEnabled(false);
}).on('blur', function() {
SetShortcutKeysEnabled(true);
});
clearShortcutSquares("BCDEFGH", "12345678");
clearShortcutSquares("A", "1234567");
var $game = $("#GameBoard");

1
todo
View File

@ -60,7 +60,6 @@ players world map
account closed accounts in team counts
IE10 no sound toggle http://en.lichess.org/forum/lichess-feedback/notification-of-game-creation#3
filter current games for watching http://en.lichess.org/forum/lichess-feedback/viewing-current-games-suggestion#2
pgn4web shortcuts interfer with the chat
---