mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
js: Preserve scroll position if focus is forced to a particular element
This commit is contained in:
parent
8bc84a5f9e
commit
3464455021
@ -1077,7 +1077,7 @@
|
||||
}
|
||||
|
||||
var scrollTarget = $container;
|
||||
if (! forceFocus && typeof containerId !== 'undefined') {
|
||||
if (typeof containerId !== 'undefined') {
|
||||
if (autorefresh || autoSubmit) {
|
||||
if ($container.css('display') === 'flex') {
|
||||
var $scrollableContent = $container.children('.content');
|
||||
|
Loading…
x
Reference in New Issue
Block a user