[Addressability] Fix code style

Change code style to satisfy JSLint for changes from WTD-1149.
This commit is contained in:
Victor Woeltjen 2015-06-16 16:10:31 -07:00
parent 5849f8afe2
commit ee69eb3a01

View File

@ -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("/"));
} }