Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Fix the +1px page height issue caused by stickyfooter #563

Merged
merged 1 commit into from
Nov 20, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/javascript/custom/stickyfooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $(window).bind(' load resize orientationChange ', function () {
var pos = footer.position();
var height = $(window).height();
height = height - pos.top;
height = height - footer.height();
height = height - footer.height() -1;

function stickyFooter() {
footer.css({
Expand Down