1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-07-15 16:22:44 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bram Chen
2015-01-07 14:07:04 +08:00
+4 -2
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();
}
}
};