var anchors = $('ul.top-menu').find('a[href*=#]').not('[href=#]').add('#to-top');
var anchors = $('ul.top-menu').find('a[href*="#"]').not('[href="#"]').add('#to-top');
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
With kind regards.
change to With kind regards.