mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Merge pull request #2877 from tahmidshahriar/master
Add close button to payment methods Fixes #2694
This commit is contained in:
commit
93b41285eb
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ module.exports = class SubscribeModal extends ModalView
|
|||
|
||||
setupPaymentMethodsInfoPopover: ->
|
||||
popoverTitle = $.i18n.t('subscribe.payment_methods_title')
|
||||
popoverTitle += '<button type="button" class="close" onclick="$('#payment-methods-info').popover('hide');">×</button>'
|
||||
popoverContent = "<p>" + $.i18n.t('subscribe.payment_methods_blurb1') + "</p>"
|
||||
popoverContent += "<p>" + $.i18n.t('subscribe.payment_methods_blurb2') + " <a href='mailto:support@codecombat.com'>support@codecombat.com</a>."
|
||||
@$el.find('#payment-methods-info').popover(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue