commit | 0b489ad2f4b4b3f1400b2c9e816a09a9ebb018c4 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri Feb 02 16:49:32 2018 +0100 |
committer | Akron <nils@diewald-online.de> | Fri Feb 02 16:49:32 2018 +0100 |
tree | 9228b20decc116c78c799d4291faf014699e0e56 | |
parent | 151bc87aaa0a17e81cc7d0e712b94060e0ca0464 [diff] [blame] |
Cleanup and simplify JS code Change-Id: I393e22763c1a1d18878026bf459b747b150429fb
diff --git a/dev/js/src/vc/chooseitem.js b/dev/js/src/vc/chooseitem.js index 5dc42b3..9f6fc06 100644 --- a/dev/js/src/vc/chooseitem.js +++ b/dev/js/src/vc/chooseitem.js
@@ -82,7 +82,7 @@ // Connect action li["onclick"] = this.onclick.bind(this); - li.appendChild(document.createTextNode(this._name)); + li.addT(this._name); return this._element = li; } }