From 21e0a9a249b66d917d6d15946031b5b495c1dccf Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 2 Feb 2020 18:13:24 +0100 Subject: [PATCH] fix nav exception on login page --- Controller.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Controller.js b/Controller.js index b3a9c42..b8f7e76 100644 --- a/Controller.js +++ b/Controller.js @@ -40,6 +40,10 @@ jsOMS.Modules.Navigation = class { const length = e.length; for (let i = 0; i < length; ++i) { + if (e[i] === null) { + continue; + } + this.bindElement(e[i]); } };