Skip to content

Commit

Permalink
attempt to fix smooth scrolling error
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Feb 9, 2013
1 parent b169fbe commit 726cd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootswatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 726cd35

Please sign in to comment.