use correct value
This commit is contained in:
parent
c8563f5fb4
commit
9cc9609ef6
@ -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);
|
||||||
|
Reference in New Issue
Block a user