Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 86e23d0

Browse files
authored
moved watcher to controller
1 parent 8fa4859 commit 86e23d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/listings/listings.routes.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ import angular from 'angular'
2121
if (usersnapWidget && usersnapWidget[0]) usersnapWidget[0].remove()
2222
}
2323
})
24-
$rootScope.$on('$locationChangeSuccess', function(event, toState, fromState) {
25-
if($rootScope.challengeFilter != null) $rootScope.challengeFilter.forceUpdate()
26-
})
2724
}])
2825

2926
function routes($stateProvider) {

0 commit comments

Comments
 (0)