Skip to content

Commit

Permalink
Merge pull request weblab#113 from jmr06005/master
Browse files Browse the repository at this point in the history
Fix for a sticky footer bug
  • Loading branch information
jmr06005 committed May 8, 2015
2 parents e4a907e + a89e915 commit 83d1475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function stickyFoot(){
gformH = gformH + $(this).outerHeight();
});
windowH = windowH - wpadminbarH - ucheaderH;
wrapperH = wrapperH + gformH;
wrapperH = wrapperH + footerH;
if(windowH>=wrapperH){
$('body').addClass('sticky');
} else {
Expand Down

0 comments on commit 83d1475

Please sign in to comment.