Skip to content

Commit

Permalink
added guard against in-progress $apply
Browse files Browse the repository at this point in the history
  • Loading branch information
lmirosevic committed Oct 3, 2013
1 parent 93cd0d2 commit a10c2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/stateManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ angular.module("stateManager", [])

//run initialiser
initialiserStack[i](getProperPathComponents());
rootScope.$apply();
$rootScope.$$phase || $rootScope.$apply();
}
}

Expand Down

0 comments on commit a10c2c6

Please sign in to comment.