Navigation event error when "project" component is not present
What's happening?
When Hubl classic version is used without the "project" component, an error is shown in the console on every navigation event : Uncaught TypeError: document.querySelector(...) is null
It's easy to fix by verifying the presence of the project component before targeting its menu. I'll make a merge request to fix this.
Steps to reproduce
How one can reproduce the issue - this is very important
- Deactivate the project component in your Hubl configuration
- Navigate to circle menu
Your Environment
(Include relevant details about the environment you experienced the bug in)
- Browser name and version: Firefox 84
- Operating System and version (desktop or mobile): Ubuntu desktop