🐛Fix subscribe prevented by no preferredLanguage

This commit is contained in:
Matt Lott 2015-03-24 15:19:20 -07:00
parent 7e340fcd41
commit 4f3fcf385c

View file

@ -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
}