Home › Forums › CSS › Jquery Smooth Scroll to a name and id › Re: Jquery Smooth Scroll to a name and id
May 17, 2013 at 3:54 pm
#135482
Participant
Try changing this line
if (target.length == 0) target = $('html');
to this
if (target.length == 0) return; // if that doesn't work return false