X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=a5cdc232a61ce3a6cfa2b90508411b467b4e6202;hp=bf43403ef7a6b7a3420103320b95872a37770f02;hb=bf646866821723c84ac275cab2314a43aed20d64;hpb=bcae12d78459730f30039137cbdbe1cf8f490e5b 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");