Skip to content

Commit 696edd8

Browse files
author
Henrik jJaven
committed
fixed clear()
1 parent f7e6ed4 commit 696edd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frameworks/keyed/doohtml/js/Main.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Doo.define(
109109

110110
clear() {
111111
this.data.rows = []
112-
this.tbody.innerHTML = ''
112+
this.tbody.textContent = ''
113113
}
114114

115115
swapRows() {

frameworks/non-keyed/doohtml/js/Main.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Doo.define(
107107

108108
clear() {
109109
this.data.rows = []
110-
this.tbody.innerHTML = ''
110+
this.tbody.textContent = ''
111111
}
112112

113113
swapRows() {

0 commit comments

Comments
 (0)