Skip to content

Commit 1c9f4e2

Browse files
author
Max Lynch
committed
Original path null fix
1 parent 860ce78 commit 1c9f4e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ext/angular/src/directive/ionicNavRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
7373

7474
back = $scope.direction == 'back' || (!!(historyState && historyState.position <= $rootScope.stackCursorPosition));
7575

76-
if(isFirst || (next && next.$$route.originalPath === "")) {
76+
if(isFirst || (next && next.$$route && next.$$route.originalPath === "")) {
7777
// Don't animate
7878
return;
7979
}

0 commit comments

Comments
 (0)