I have just re-learned that putting a data-toggle attribute on a html element will hijack the clicking event for that element. So if you have a div or ul with a data-toggle attribute, don't expect any of the links within that element to work.

At least if you use Bootstrap's navbar.

I hope I saved you hours of debugging.