mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
[Addressability] Fix code style
Change code style to satisfy JSLint for changes from WTD-1149.
This commit is contained in:
parent
5849f8afe2
commit
ee69eb3a01
@ -55,10 +55,12 @@ define(
|
||||
}),
|
||||
priorRoute = $route.current,
|
||||
// Act as if params HADN'T changed to avoid page reload
|
||||
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
||||
$route.current = priorRoute;
|
||||
unlisten();
|
||||
});
|
||||
unlisten;
|
||||
|
||||
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
||||
$route.current = priorRoute;
|
||||
unlisten();
|
||||
});
|
||||
|
||||
$location.path("/browse/" + ids.slice(1).join("/"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user