mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
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…
x
Reference in New Issue
Block a user