in script/smooth.js [108:121]
render: function () {
Scroller.end(this);
var a = document.getElementsByTagName('a');
for (var i = 0; i < a.length; i++) {
var l = a[i],
has_hash = l.href && l.href.indexOf('#') !== -1,
is_cur_loc = l.pathname === location.pathname;
is_cur_loc |= '/' + l.pathname === location.pathname;
if (has_hash && is_cur_loc) {
Scroller.add(l, 'click', Scroller.end);
l.onclick = onclickHandler;
}
}
}