1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-02 12:19:11 +00:00

Fix for serverside rendering

This commit is contained in:
Jermolene 2015-01-06 18:19:55 +00:00
parent f920e9e243
commit b68276e219

View File

@ -73,9 +73,11 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
this.fixHeight(); this.fixHeight();
// Focus field // Focus field
if(this.editFocus === "true") { if(this.editFocus === "true") {
if(domNode.focus && domNode.select) {
domNode.focus(); domNode.focus();
domNode.select(); domNode.select();
} }
}
}; };
/* /*