Skip to content

Commit

Permalink
Update stickUp.js
Browse files Browse the repository at this point in the history
  • Loading branch information
codechou committed Nov 6, 2014
1 parent e28d8b7 commit a8a14b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stickUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function($) {
var stickyMarginB = 0;
var currentMarginT = 0;
var topMargin = 0;
var vartop = 0;
$(window).scroll(function(event){
var st = $(this).scrollTop();
if (st > lastScrollTop){
Expand Down

0 comments on commit a8a14b1

Please sign in to comment.