Merge pull request #3518 from Icinga/fix/anchor-navigation-not-working-3492
loader.js: Make anchor navigation working again
This commit is contained in:
commit
84e0c0c4fb
|
@ -588,7 +588,7 @@
|
||||||
oldNotifications.appendTo($('#notifications'));
|
oldNotifications.appendTo($('#notifications'));
|
||||||
}
|
}
|
||||||
if (url.match(/#/)) {
|
if (url.match(/#/)) {
|
||||||
this.icinga.ui.focusElement(url.split(/#/)[1], req.$target);
|
setTimeout(this.icinga.ui.focusElement, 0, url.split(/#/)[1], req.$target);
|
||||||
}
|
}
|
||||||
if (newBody) {
|
if (newBody) {
|
||||||
this.icinga.ui.fixDebugVisibility().triggerWindowResize();
|
this.icinga.ui.fixDebugVisibility().triggerWindowResize();
|
||||||
|
|
Loading…
Reference in New Issue