This function is blocking:
$('.templatemo-top-menu .navbar-nav a').click(function(e){
e.preventDefault();
var linkId = $(this).attr('href');
scrollTo(linkId);
if($('.navbar-toggle').is(":visible") == true){
$('.navbar-collapse').collapse('toggle');
}
$(this).blur();
return false;
});
Note, when you use e.preventDefault();
it prevents the click
event from being continued. You have several ways to solve this problem, I think it would be best to specify the links you want to call this function, like this:
Add the class inpage
to all the menus that scroll on the page:
<a href="#templatemo-about" class="inpage">SOBRE</a>
Those who will open externally leave you as is:
<a href="http://www.wrccdesign.com.br/blog/" target="_blank">BLOG</a>
And then add an .inpage to the end of the selector of your function:
$('.templatemo-top-menu .navbar-nav a.inpage')