Skip to content

Commit b2bc6e4

Browse files
committed
DooHTML-DOM-v0.92.2-beta-april-24-2024
1 parent fcc0079 commit b2bc6e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const lenA = adjectives.length, lenB = colours.length, lenC = nouns.length
1111
const DEFAULT_SIZE = 1000
1212
const CHILD_1 = 1
1313
const CHILD_998 = 998
14+
const BANG = ' !!!'
1415

1516
Doo.define(
1617
class Main extends Doo {
@@ -99,8 +100,10 @@ Doo.define(
99100
}
100101

101102
update() {
103+
const bang = ' !!!'
102104
for (let i=0, len = this.data.rows.length;i<len;i+=10) {
103-
this.tbody.childNodes[i].childNodes[1].childNodes[0].innerText = this.data.rows[i].label += ' !!!'
105+
this.data.rows[i].label += BANG
106+
this.tbody.childNodes[i].childNodes[1].childNodes[0].firstChild.textContent = this.data.rows[i].label
104107
}
105108
}
106109

0 commit comments

Comments
 (0)