From 558dbf0fdfc74662f6855dbdbb3b4f91d20ad534 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 10 Dec 2018 18:19:05 +0100 Subject: [PATCH] Fix increment order --- Controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.js b/Controller.js index cea345c..447e98d 100644 --- a/Controller.js +++ b/Controller.js @@ -15,7 +15,7 @@ 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); } };