From 6bd198d86c5ced618d543a3dfbeb21f8b838c39e Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 11 Jun 2015 17:20:16 -0500 Subject: [PATCH] tests(history): fix broken validation from cef6708638659a8113591119d7cf1c8f947b2c10 --- js/angular/service/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/service/history.js b/js/angular/service/history.js index 254b0efc5df..994d6c505df 100644 --- a/js/angular/service/history.js +++ b/js/angular/service/history.js @@ -693,7 +693,7 @@ function($rootScope, $state, $location, $window, $timeout, $ionicViewSwitcher, $ extend(nextViewOptions, opts); if (nextViewOptions.expire) { deregisterStateChangeListener = $rootScope.$on('$stateChangeSuccess', function() { - nextViewExpireTimer = $timeout(function(){ + nextViewExpireTimer = $timeout(function() { nextViewOptions = null; }, nextViewOptions.expire); });