From a293ef56dc3d77d77132218e9587714add405c75 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 19 Nov 2017 23:20:11 +0100 Subject: [PATCH] Fix phpstorm inspections --- Controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.js b/Controller.js index c549260..5882d7c 100644 --- a/Controller.js +++ b/Controller.js @@ -92,7 +92,7 @@ || document.body.clientWidth; // todo: still buggy maybe always set true if < 800 and only call this if if >= 800 - e.nextElementSibling.checked = width < 800 ? true : false; + e.nextElementSibling.checked = width < 800; } e.scrollTop = this.navigation[e.id].getScrollPosition().y;