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
var anchors = $('ul.top-menu').find('a[href*=#]').not('[href=#]').add('#to-top');tovar anchors = $('ul.top-menu').find('a[href*="#"]').not('[href="#"]').add('#to-top');With kind regards.