CON-1809 | Fix overlapping of anchored element

As I've discovered yesterday when trying to catch events fired from ToC: the ```document.addEventListener('click')``` was fired only from inside the link (from ```span``` element) not for link, it wasn't stopped, event handler was just fired once.