mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-01 02:18:02 +00:00
Fix for serverside rendering
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user