From bb89f16e344ade61bd25f9cd608050665df9bb17 Mon Sep 17 00:00:00 2001 From: Jesse Grant Date: Mon, 14 Jan 2013 16:44:21 -0500 Subject: [PATCH] fix for payment optoins section so that the email controls do not overlap footer, even if you change the size of the footer --- app/assets/javascripts/preorder.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/preorder.js.coffee b/app/assets/javascripts/preorder.js.coffee index 0d93b78..e6399ab 100644 --- a/app/assets/javascripts/preorder.js.coffee +++ b/app/assets/javascripts/preorder.js.coffee @@ -10,7 +10,7 @@ Selfstarter = $("#email").addClass("highlight") unless Selfstarter.firstTime $("#amazon_button").addClass("disabled") unless $("#amazon_button").hasClass("disabled") init: -> - checkoutOffset = $('body').height() - 101 #needs to be done upon init + checkoutOffset = $('body').height() - $('.footer').outerHeight() #needs to be done upon init $("#email").bind "textchange", -> Selfstarter.validateEmail()