From b4adee0ae5a5ce0ad8ce236647aeff0f191ce69e 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 e5c17fd..806c662 100644 --- a/Controller.js +++ b/Controller.js @@ -49,7 +49,7 @@ const e = typeof id === 'undefined' ? document.getElementsByClassName('nav') : [document.getElementById(id)], length = e.length; - for (let i = 0; i < length; i++) { + for (let i = 0; i < length; ++i) { this.bindElement(e[i]); } };