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,8 +73,10 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
this.fixHeight();
// Focus field
if(this.editFocus === "true") {
domNode.focus();
domNode.select();
if(domNode.focus && domNode.select) {
domNode.focus();
domNode.select();
}
}
};