From: Steinar H. Gunderson Date: Sat, 13 Dec 2014 23:45:47 +0000 (+0100) Subject: Add back a line that was inadvertedly removed. X-Git-Url: https://git.sesse.net/?p=remoteglot-book;a=commitdiff_plain;h=a07f7e734dea29073dcc67d8398d36de420d7757 Add back a line that was inadvertedly removed. --- diff --git a/www/js/book.js b/www/js/book.js index 2c5af12..9a2456e 100644 --- a/www/js/book.js +++ b/www/js/book.js @@ -234,6 +234,7 @@ var make_move = function(move) { // User effectively only moved forward in history. ++move_override; } else { + history.length = move_override; history.push(move); move_override = history.length; }