diff --git a/src/Tribute.js b/src/Tribute.js index a5600a78..b5ae6f10 100644 --- a/src/Tribute.js +++ b/src/Tribute.js @@ -125,8 +125,7 @@ class Tribute { for (var i = 0; i < length; ++i) { this._attach(el[i]) } - } - else { + } else { this._attach(el) } } @@ -145,8 +144,7 @@ class Tribute { if (Tribute.inputTypes().indexOf(element.nodeName) === -1) { if (element.contentEditable) { element.contentEditable = true - } - else { + } else { throw new Error('[Tribute] Cannot bind to ' + element.nodeName) } }