We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a1787 commit 1e6ac74Copy full SHA for 1e6ac74
frameworks/keyed/vanillajs-lite/src/Main.js
@@ -42,8 +42,8 @@ const clear = patch => {
42
const empty = !tbody.firstChild;
43
if (!empty || patch)
44
!empty && patch ? (tbody.textContent = '', patch()) :
45
- tbody.remove(), tbody = TBody(), patch?.(),
46
- insertBefore.call(table, tbody, null);
+ (tbody.remove(), tbody = TBody(), patch?.(),
+ insertBefore.call(table, tbody, null));
47
};
48
49
document.querySelectorAll('button').forEach(function (button) {
0 commit comments