mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
minor scroll fix for https://github.com/opnsense/core/issues/3312
This commit is contained in:
parent
92b8b346f9
commit
cfa308aad0
@ -249,7 +249,7 @@ include("head.inc");
|
||||
|
||||
title_td.append(container);
|
||||
let animate_width = title_td.width() - container.position().left+ title_td.find('i:eq(0)').position().left;
|
||||
$('html, body').animate({scrollTop: option.offset().top}, 500, function() {
|
||||
$('html, body').animate({scrollTop: option.position().top}, 500, function() {
|
||||
container.append(arrow);
|
||||
container.animate({width: animate_width}, 800);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user