From b5f5bd1be8af1b47f406602164b2100396a457e3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 5 Oct 2019 20:08:51 +0200 Subject: [PATCH] Fix if/for spacing --- Controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controller.js b/Controller.js index 60b03bc..0a7ea12 100644 --- a/Controller.js +++ b/Controller.js @@ -16,14 +16,14 @@ jsOMS.Modules.Editor = class { const e = typeof id === 'undefined' ? document.getElementsByClassName('m-editor') : [id], length = e.length; - for(let i = 0; i < length; ++i) { + for (let i = 0; i < length; ++i) { this.bindElement(e[i].id); } }; bindElement (id) { - if(typeof id === 'undefined' || !id) { + if (typeof id === 'undefined' || !id) { // todo: do logging return;