Merge pull request #290 from jaredevantabor/routeParams

remove query string on URL
This commit is contained in:
jaredevantabor 2015-06-19 16:57:49 -04:00
commit 1abb2f7dfd

View File

@ -1047,6 +1047,9 @@ var tower = angular.module('Tower', [
});
$rootScope.$on("$routeChangeStart", function (event, next) {
// this line removes the query params attached to a route
$location.search('');
// Before navigating away from current tab, make sure the primary view is visible
if ($('#stream-container').is(':visible')) {
HideStream();