mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
js: Fix error when focusing navigation anchors
This commit is contained in:
parent
8a959c9f67
commit
55b9b44be9
@ -1110,7 +1110,7 @@
|
|||||||
this.icinga.ui.assignUniqueContainerIds();
|
this.icinga.ui.assignUniqueContainerIds();
|
||||||
|
|
||||||
if (navigationAnchor) {
|
if (navigationAnchor) {
|
||||||
setTimeout(this.icinga.ui.focusElement, 0, navigationAnchor, $container);
|
setTimeout(this.icinga.ui.focusElement.bind(this.icinga.ui), 0, navigationAnchor, $container);
|
||||||
} else if (! activeElementPath) {
|
} else if (! activeElementPath) {
|
||||||
// Active element was not in this container
|
// Active element was not in this container
|
||||||
if (! autorefresh) {
|
if (! autorefresh) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user