mirror of
https://github.com/nasa/openmct.git
synced 2025-05-06 18:48:27 +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,
|
priorRoute = $route.current,
|
||||||
// Act as if params HADN'T changed to avoid page reload
|
// Act as if params HADN'T changed to avoid page reload
|
||||||
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
unlisten;
|
||||||
$route.current = priorRoute;
|
|
||||||
unlisten();
|
unlisten = $scope.$on('$locationChangeSuccess', function () {
|
||||||
});
|
$route.current = priorRoute;
|
||||||
|
unlisten();
|
||||||
|
});
|
||||||
|
|
||||||
$location.path("/browse/" + ids.slice(1).join("/"));
|
$location.path("/browse/" + ids.slice(1).join("/"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user