Skip to content

Commit bddc8c8

Browse files
committed
small tweak to directedHashChange to make sure the right value is passed in for isBack
1 parent d63350c commit bddc8c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@
293293
this.activeIndex = newActiveIndex !== undefined ? newActiveIndex : this.activeIndex;
294294

295295
if( back ) {
296-
(opts.either || opts.isBack)( back );
296+
( opts.either || opts.isBack )( true );
297297
} else if( forward ) {
298-
(opts.either || opts.isForward)( back );
298+
( opts.either || opts.isForward )( false );
299299
}
300300
},
301301

0 commit comments

Comments
 (0)