Skip to content

Commit 093c75a

Browse files
committed
fix(ui-sref-active): update class on $locationChangeSuccess event
1 parent d957a1e commit 093c75a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stateDirectives.js

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ function $StateRefActiveDirective($state, $stateParams, $interpolate) {
249249
};
250250

251251
$scope.$on('$stateChangeSuccess', update);
252+
$scope.$on('$locationChangeSuccess', update);
252253

253254
// Update route state
254255
function update() {

0 commit comments

Comments
 (0)