Skip to content
Snippets Groups Projects
Commit fd35b476 authored by greenskin's avatar greenskin
Browse files

Scroll bar is moved up if tab is changed while top portion of module list is not visible.

parent 72f5968f
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,11 @@ if (Drupal.jsEnabled) {
// Filter rows depending on tab selected.
moduleFilterTabLoad();
if ($("#module-filter-squeeze table.sticky-header").css('visibility') == 'visible') {
destination = $("#module-filter-left").offset().top;
$("html:not(:animated),body:not(:animated)").scrollTop(destination - 15);
}
}
return false;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment