Created
February 21, 2015 17:55
-
-
Save wsmoak/49ea3b44c40a113c180b to your computer and use it in GitHub Desktop.
Chargify - Remove coupon success message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function removeCouponSuccessMessage() { | |
coupon_text = $('#long_coupon_message').find(".success_message"); | |
coupon_text.text(""); | |
}; | |
$(document).bind("afterSummaryRefresh", removeCouponSuccessMessage); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment