From bf646866821723c84ac275cab2314a43aed20d64 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 11 Nov 2014 00:57:32 +0100 Subject: [PATCH] Fix an issue where the Previous link would wrongly reappear. --- 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 bf43403..a5cdc23 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -749,7 +749,7 @@ var update_displayed_line = function() { $("#linenav").show(); $("#linemsg").hide(); - if (current_display_move == 0) { + if (current_display_move <= 0) { $("#prevmove").html("Previous"); } else { $("#prevmove").html("Previous"); -- 2.39.2