show greetings a bit longer

This commit is contained in:
Thibault Duplessis 2015-12-05 12:16:20 +07:00
parent e875dc6dc1
commit c239e07e42

View file

@ -1333,7 +1333,7 @@ lichess.unique = function(xs) {
cfg.socketSend = lichess.socket.send.bind(lichess.socket);
cfg.onChange = data.player.spectator ? $.noop : function(data) {
var presets = [];
if (data.steps.length < 3) presets = [
if (data.steps.length < 4) presets = [
'hi/Hello', 'gl/Good luck', 'hf/Have fun!', 'u2/You too!'
];
else if (data.game.status.id >= 30) presets = [