This commit is contained in:
Adam Bradley
2013-11-26 23:18:59 -06:00
parent d96456a234
commit f5b18cec40

View File

@@ -1436,7 +1436,7 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
back = $scope.direction == 'back' || (!!(historyState && historyState.position <= $rootScope.stackCursorPosition));
if(isFirst || (next && next.$$route.originalPath === "")) {
if(isFirst || (next && next.$$route && next.$$route.originalPath === "")) {
// Don't animate
return;
}