From 68680341751df948ea7f5ac204b06040305f4bce Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Thu, 17 Aug 2017 00:30:33 +0200 Subject: [PATCH] Fix bug disallowing renewing even if less than 30 days until expiry --- static/app/scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/scripts/app.js b/static/app/scripts/app.js index 741ee37..1795e2d 100644 --- a/static/app/scripts/app.js +++ b/static/app/scripts/app.js @@ -184,7 +184,7 @@ function updateMemberShipButton(user, order) { //else if (user.last_membership.end_date <= today_plus_thirty_days && user.active_member_card) { /* ...with a membership that expires soon can renew */ else if (user.last_membership.end_date <= today_plus_thirty_days) { - _dom.membershipSubmitButton.prop('enabled', false); + _dom.membershipSubmitButton.prop('disable', false); } } /* User with expired membership can renew */