From f7a727b9b8106388c389c768e85b11892521c3f6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Aug 2017 20:19:47 +0200 Subject: [PATCH] Make self const --- Controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.js b/Controller.js index 1cf8181..c7cc660 100644 --- a/Controller.js +++ b/Controller.js @@ -27,7 +27,7 @@ return; } - let self = this; + const self = this; if (!form.querySelector('input[type=file]')|| !document.querySelector('input[type=file][form=' + form.id + ']')) { try {