Skip to content

Commit

Permalink
See bigspotteddog#21: Discovered a misspelling that caused the origin…
Browse files Browse the repository at this point in the history
…al offset to be set everytime the plugin was reset. This should not have been causing any issues, however.
  • Loading branch information
bigspotteddog committed Mar 26, 2012
1 parent 023460c commit e24b87f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery-scrolltofixed-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jquery-scrolltofixed.js
Expand Up @@ -73,7 +73,7 @@
// Capture the offset left of the target element.
offsetLeft = target.offset().left + (target.offset().left - target.position().left);
if (originalOffsetLeft == -1) {
orginalOffsetLeft = offsetLeft;
originalOffsetLeft = offsetLeft;
}

position = target.css('position');
Expand Down

0 comments on commit e24b87f

Please sign in to comment.