From f5b18cec40216f1931dfdfc2921f70daa20d6b78 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 26 Nov 2013 23:18:59 -0600 Subject: [PATCH] merge --- dist/js/ionic-angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index e7eb491fdc..b43e6d6264 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -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; }