1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-07 14:23:53 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bram Chen 2015-01-07 14:07:04 +08:00
commit df3d346792

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();
} }
}
}; };
/* /*