Skip to content

Commit 6219296

Browse files
committed
revert: 撤销与本 PR 无关改动
1 parent c82a4d2 commit 6219296

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/BootstrapBlazor/Components/Table/Table.razor.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,12 +730,10 @@ const autoFitColumnWidth = async (table, col) => {
730730
const index = indexOfCol(col);
731731
let rows = null;
732732
if (table.thead) {
733-
// https://github.com/dotnetcore/BootstrapBlazor/issues/6864
734-
rows = table.el.querySelectorAll('table > tbody > tr:not(.is-detail), table> thead > tr');
733+
rows = table.el.querySelectorAll('table > tbody > tr:not(.is-detail)');
735734
}
736735
else {
737-
// https://github.com/dotnetcore/BootstrapBlazor/issues/6864
738-
rows = table.tables[0].querySelectorAll('table > tbody > tr:not(.is-detail), table> thead > tr');
736+
rows = table.tables[0].querySelectorAll('table > tbody > tr:not(.is-detail)');
739737
}
740738

741739
let maxWidth = 0;

0 commit comments

Comments
 (0)