Skip to content

Commit 1814e0a

Browse files
committed
reverted clear
1 parent 5c98c44 commit 1814e0a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const lenA = adjectives.length, lenB = colours.length, lenC = nouns.length
99
const DEFAULT_SIZE = 1000
1010
const CHILD_1 = 1
1111
const CHILD_998 = 998
12+
const BANG = ' !!!'
1213
const DANGER = 'danger'
1314
Doo.define(
1415
class Main extends Doo {
@@ -113,7 +114,7 @@ Doo.define(
113114
}
114115

115116
clear() {
116-
this.tbody.nodeValue = ''
117+
this.tbody.textContent = ''
117118
this.data.rows = []
118119
}
119120

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Doo.define(
123123
}
124124

125125
clear() {
126-
this.tbody.nodeValue = ''
126+
this.tbody.textContent = ''
127127
this.data.rows = []
128128
}
129129

0 commit comments

Comments
 (0)