diff --git a/src/BootstrapBlazor/wwwroot/modules/table.js b/src/BootstrapBlazor/wwwroot/modules/table.js index 07513d9ffcb6879048a933733c1b539a80c7d29d..b9e454c996207fc1d8c71c2f70fd48dc229ca4d2 100644 --- a/src/BootstrapBlazor/wwwroot/modules/table.js +++ b/src/BootstrapBlazor/wwwroot/modules/table.js @@ -121,7 +121,7 @@ export class Table extends BlazorComponent { else th.classList.remove('border-resize') const index = [].indexOf.call(th.parentNode.children, th); - th.closest('.table-resize').querySelectorAll('tbody tr').forEach(tr => { + th.closest('.table-resize').querySelectorAll('.table > tbody > tr').forEach(tr => { const td = tr.children.item(index) if (toggle) td.classList.add('border-resize') else td.classList.remove('border-resize')