Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit aff3f0d

Browse files
committed
ugh
1 parent f47c462 commit aff3f0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/commands.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,10 @@ return function ( args ) {
263263
partitioned = partition( commands, maxSize ),
264264

265265
valid = /^(\d+|$)/.test( args.content ),
266-
page = (Number( args.content ) - 1) || 0;
266+
page = Number( args.content ) || 0;
267+
268+
if(page > 0)
269+
page--;
267270

268271
if ( page >= partitioned.length || !valid ) {
269272
return args.codify( [

0 commit comments

Comments
 (0)