diff --git a/4chan_x.coffee b/4chan_x.coffee index f4bfce5ad..40b91ec34 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -406,7 +406,7 @@ keyAct = (e) -> location.pathname = "/#{g.BOARD}/#{temp}#1" when "J" temp = position + count - if temp > 10 then temp = 10 + if temp > 9 then temp = 9 location.hash = 'p' + temp when "K" temp = position - count diff --git a/4chan_x.js b/4chan_x.js index 462dfb53a..533cbf5a3 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -503,8 +503,8 @@ break; case "J": temp = position + count; - if (temp > 10) { - temp = 10; + if (temp > 9) { + temp = 9; } location.hash = 'p' + temp; break;