Skip to content

Instantly share code, notes, and snippets.

@wsmoak
Created February 21, 2015 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsmoak/49ea3b44c40a113c180b to your computer and use it in GitHub Desktop.
Save wsmoak/49ea3b44c40a113c180b to your computer and use it in GitHub Desktop.
Chargify - Remove coupon success message
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