fix for payment optoins section so that the email controls do not overlap footer, even if you change the size of the footer

This commit is contained in:
Jesse Grant
2013-01-14 16:44:21 -05:00
parent bc5d8406ac
commit bb89f16e34

View File

@@ -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()