I'm working on a page updating all kinds of stuff, when suddenly I realized that a feature I built earlier is no longer working. By suddenly I mean that it could have not been working for a while. But it did work before, but something I since I last checked is causing the bug. The real problem is that the bug is not throwing any errors in the console so there is no way to know the root cause is.
To complicate matters, the code in question is part of my navbar and is included on almost all the other pages, where it works just fine.
Does anyone have any recommendations or tips on how to find the source of problem.
I have tried commenting out various blocks of code, but no luck.
The code in question is jQuery, and it appears on page created with html5, CSS3, Bootstrap V4a6, and Python Bottle.py. I'm testing the page on my localhhost with the Bottle.py built-in server.