Skip to content

Commit

Permalink
bugfix bei stickyHeaders mit nesting
Browse files Browse the repository at this point in the history
stickyHeaders darf nur direkte childs von Tabellen nehme, keine genesteten
  • Loading branch information
GB609 authored Sep 27, 2024
1 parent dd61751 commit 9a30b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MobileLayout/js/MobileLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
document.title = newTitle || document.title;

if (OPTIONS.TABLES.stickyHeaders == true) {
HOOKS.stylesheet.ruleFor(DOM.thead, ', table[id] > tbody:nth-child(1) :nth-child(1 of tr)', 'position:sticky; top:0; background-color:black;');
HOOKS.stylesheet.ruleFor(DOM.thead, ', table[id] > tbody:nth-child(1) > :nth-child(1 of tr)', 'position:sticky; top:0; background-color:black;');
}

if (HOOKS[curLocId]) { HOOKS[curLocId](); }
Expand Down

0 comments on commit 9a30b35

Please sign in to comment.