Archived
1
0

use correct value

This commit is contained in:
Jeff Becker 2017-09-30 08:03:33 -04:00
parent c8563f5fb4
commit 9cc9609ef6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -78,7 +78,7 @@ onready(function() {
if(elems && elems.length > 0 && elems[0]) { if(elems && elems.length > 0 && elems[0]) {
var e = elems[0]; var e = elems[0];
var parent = e.parentElement; var parent = e.parentElement;
var origText = e.innerHTML; var origText = e.value;
e.remove(); e.remove();
e = document.createElement("button"); e = document.createElement("button");
parent.appendChild(e); parent.appendChild(e);