Skip to content

Commit

Permalink
See #124.
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspotteddog committed Feb 22, 2014
1 parent a4c1622 commit ac92e06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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.

9 changes: 5 additions & 4 deletions jquery-scrolltofixed.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
if (!base.options.dontSetWidth){ cssOptions['width']=target.width(); };

target.css(cssOptions);

target.addClass('scroll-to-fixed-fixed');

target.addClass(base.options.baseClassName);
if (base.options.className) {
target.addClass(base.options.className);
}
Expand Down Expand Up @@ -519,7 +519,8 @@
marginTop : 0,
limit : 0,
bottom : -1,
zIndex : 1000
zIndex : 1000,
baseClassName: 'scroll-to-fixed-fixed'
};

// Returns enhanced elements that will fix to the top of the page when the
Expand Down

0 comments on commit ac92e06

Please sign in to comment.