mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fix problem that was causing Chrome to display black in colour picker swatches
Hurrah!
This commit is contained in:
parent
a186b6f978
commit
88ffb2ad12
@ -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,[
|
||||||
|
Loading…
Reference in New Issue
Block a user