summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/navigation/Router.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/navigation/Router.js')
-rw-r--r--install/ui/src/freeipa/navigation/Router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/navigation/Router.js b/install/ui/src/freeipa/navigation/Router.js
index a65c60fd3..5523993f4 100644
--- a/install/ui/src/freeipa/navigation/Router.js
+++ b/install/ui/src/freeipa/navigation/Router.js
@@ -66,7 +66,6 @@ define(['dojo/_base/declare',
*/
ignore_next: false,
-
/**
* Register a route-handler pair to a dojo.router
* Handler will be run in context of this object
@@ -111,6 +110,7 @@ define(['dojo/_base/declare',
* @param {boolean} Whether to suppress following hash change handler
*/
update_hash: function(hash, ignore_change) {
+ if (window.location.hash === "#" + hash) return;
this.ignore_next = !!ignore_change;
router.go(hash);
},