0-9, not 1-10
This commit is contained in:
parent
fdbd55038b
commit
7023841e48
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user