deprecations and documentation

This commit is contained in:
Rimian Perkins 2019-08-28 19:02:56 +10:00
parent 32f883a7ad
commit 6d1c4dd28c
2 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/rimian/discourse-donations.svg?branch=master)](https://travis-ci.org/rimian/discourse-donations)
Accept donations from visitors to your [Discourse](https://www.discourse.org/) forum. Integrates with [Stripe](https://stripe.com).
Accept donations from visitors to your [Discourse](https://www.discourse.org/) application. Integrates with [Stripe](https://stripe.com).
## Installation
@ -52,7 +52,7 @@ Card numbers in **bold** have been tested.
* **4000 0000 0000 0127** Charge is declined with an incorrect_cvc code.
* **4000 0000 0000 0069** Charge is declined with an expired_card code.
* **4000 0000 0000 0119** Charge is declined with a processing_error code.
* 4242 4242 4242 4241 Charge is declined with an incorrect_number code as the card number fails the Luhn check.
* **4242 4242 4242 4241** Charge is declined with an incorrect_number code as the card number fails the Luhn check.
## Warranty

View File

@ -108,8 +108,9 @@ export default Ember.Component.extend({
const style = {
base: {
color,
iconColor: color,
"::placeholder": { color: color }
"::placeholder": { color }
}
};
@ -187,8 +188,8 @@ export default Ember.Component.extend({
},
documentClick(e) {
let $element = this.$(".transaction-fee-description");
let $target = $(e.target);
let $element = jQuery(".transaction-fee-description");
let $target = jQuery(e.target);
if ($target.closest($element).length < 1 && this._state !== "destroying") {
this.set("showTransactionFeeDescription", false);
}