loader.js: Make anchor navigation working again

fixes #3492
This commit is contained in:
Johannes Meyer 2018-07-10 10:50:31 +02:00
parent 303637df3c
commit 5f4aa1e296
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@
oldNotifications.appendTo($('#notifications'));
}
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) {
this.icinga.ui.fixDebugVisibility().triggerWindowResize();