1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00

Coding style cleanup

This commit is contained in:
Jermolene 2014-11-25 13:49:22 +00:00
parent 6f0d581d72
commit 996eecc79a

View File

@ -71,13 +71,11 @@ EditTextWidget.prototype.render = function(parent,nextSibling) {
}
// Fix height
this.fixHeight();
// Focus field
if(this.editFocus === "true") {
domNode.focus();
domNode.select();
}
};
/*
@ -148,7 +146,6 @@ EditTextWidget.prototype.execute = function() {
this.editMinHeight = this.getAttribute("minHeight",DEFAULT_MIN_TEXT_AREA_HEIGHT);
this.editFocusPopup = this.getAttribute("focusPopup");
this.editFocus = this.getAttribute("focus");
// Get the editor element tag and type
var tag,type;
if(this.editField === "text") {