From 0451d189f5c931e7c122faa1cf4e1c3174d994fe Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 23 Nov 2013 01:14:38 +0100 Subject: [PATCH] Fix another issue with the Closure compiler. --- www/js/remoteglot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 57c3cea..0b7a602 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -426,7 +426,7 @@ var update_board = function(board, data, num_viewers) { fen = data['position']['fen']; update_displayed_line(); - if (data['position'].last_move_uci) { + if (data['position']['last_move_uci']) { highlight_from = data['position']['last_move_uci'].substr(0, 2); highlight_to = data['position']['last_move_uci'].substr(2, 4); } else { -- 2.39.2