Oi,
Coloquei o site no ar para testes e agora percebi que só funciona corretamente no Chrome, Firefox e IE ele da erro. Tanto utilizando o (+) ou (-) na linha 7. O seu funcionou sem problemas?
Link do site: http://www.drnacif.com.br
Se mais alguém quiser ajudar, o código JS é esse:
$(document).ready(function() {
$('a[href^="#"]').on('click',function (e) {
e.preventDefault ();
var target = this.hash,
$target = $(target);
$('html, body').stop().animate ({
'scrollTop': ($target.offset().top - 150)
}, 1000, 'swing', function () {
window.location.hash = target;
});
});
});