Skip to content

Commit

Permalink
table header cell fix
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
brandonkelly committed Feb 7, 2024
1 parent da7ad8a commit 272f0a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/BaseElementIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ Craft.BaseElementIndex = Garnish.Base.extend(
}
});
}
} else {
} else if (this.$selectAllContainer.prop('nodeName') !== 'TH') {
if (!this.$selectAllContainer.siblings().length) {
this.$selectAllContainer.parent('.header').remove();
}
Expand Down

0 comments on commit 272f0a2

Please sign in to comment.