1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 10:37:20 +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();
}
}
};