What does navigation.js do except throw error?
-
Hi,
Testing Gridster-Lite I get an error in console:
Uncaught TypeError: Cannot call method 'getElementsByTagName' of null - navigation.js:8
Now fixing the file navigation.js with an extra ‘undefined’ check before using the ‘container’ variable would solve the error but… Since there are no divs with id=”site-navigation” in any theme template files, it does not look like the script actually serves any purpose.
Should it not be removed?
Thanks 🙂
- The topic ‘What does navigation.js do except throw error?’ is closed to new replies.