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:
parent
f920e9e243
commit
b68276e219
@ -73,8 +73,10 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
|
|||||||
this.fixHeight();
|
this.fixHeight();
|
||||||
// Focus field
|
// Focus field
|
||||||
if(this.editFocus === "true") {
|
if(this.editFocus === "true") {
|
||||||
domNode.focus();
|
if(domNode.focus && domNode.select) {
|
||||||
domNode.select();
|
domNode.focus();
|
||||||
|
domNode.select();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user