mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
🐛Fix subscribe prevented by no preferredLanguage
This commit is contained in:
parent
7e340fcd41
commit
4f3fcf385c
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module.exports = class SubscribeModal extends ModalView
|
|||
options = {
|
||||
description: $.i18n.t('subscribe.stripe_description')
|
||||
amount: @product.amount
|
||||
alipay: if me.get('chinaVersion') or me.get('preferredLanguage')[...2] is 'zh' then true else 'auto'
|
||||
alipay: if me.get('chinaVersion') or me.get('preferredLanguage')?[...2] is 'zh' then true else 'auto'
|
||||
alipayReusable: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue