1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +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,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();
}
}
};