The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Jquery Smooth Scroll to a name and id › Re: Jquery Smooth Scroll to a name and id
Try changing this line
if (target.length == 0) target = $('html');
if (target.length == 0) return; // if that doesn't work return false