Issue #2374895 by eshta: Fix typo in updateNavbar function introduced when splitting JS files.