js: Fix error when focusing navigation anchors
This commit is contained in:
parent
8a959c9f67
commit
55b9b44be9
|
@ -1110,7 +1110,7 @@
|
|||
this.icinga.ui.assignUniqueContainerIds();
|
||||
|
||||
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) {
|
||||
// Active element was not in this container
|
||||
if (! autorefresh) {
|
||||
|
|
Loading…
Reference in New Issue