Merge pull request #3295 from Icinga/bugfix/focus-preserve-scroll-position

Icinga.Loader.prototype.renderContentToContainer(): preserve scroll position despite the focus
This commit is contained in:
lippserd 2018-01-19 16:07:12 +01:00 committed by GitHub
commit a812a95a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@
}
if (scrollPos !== false) {
$container.scrollTop(scrollPos);
setTimeout($container.scrollTop.bind($container), 0, scrollPos);
}
var icinga = this.icinga;
//icinga.events.applyHandlers($container);