1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Fix problem that was causing Chrome to display black in colour picker swatches

Hurrah!
This commit is contained in:
Jermolene 2014-02-20 09:57:44 +00:00
parent a186b6f978
commit 88ffb2ad12

View File

@ -53,7 +53,7 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
if(this.editTag === "textarea") { if(this.editTag === "textarea") {
domNode.appendChild(this.document.createTextNode(editInfo.value)); domNode.appendChild(this.document.createTextNode(editInfo.value));
} else { } else {
domNode.setAttribute("value",editInfo.value) domNode.value = editInfo.value;
} }
// Add an input event handler // Add an input event handler
$tw.utils.addEventListeners(domNode,[ $tw.utils.addEventListeners(domNode,[