Commit 726cd35b authored by Thomas Park's avatar Thomas Park
Browse files

attempt to fix smooth scrolling error

parent b169fbee
......@@ -28,7 +28,7 @@ $(document).ready(function() {
var locationPath = filterPath(location.pathname);
var scrollElem = scrollableElement('html', 'body');
$('a[href*=#]').each(function() {
$('a[href^=#]').each(function() {
var thisPath = filterPath(this.pathname) || locationPath;
if ( locationPath == thisPath
&& (location.hostname == this.hostname || !this.hostname)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment