mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 03:16:56 -05:00
add close buttonn to payment methods
This commit is contained in:
parent
90e02cba48
commit
60e27d386f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,6 @@ module.exports = class SubscribeModal extends ModalView
|
||||||
popoverTitle = $.i18n.t 'subscribe.parent_email_title'
|
popoverTitle = $.i18n.t 'subscribe.parent_email_title'
|
||||||
popoverTitle += '<button type="button" class="close" onclick="$('.parent-button').popover('hide');">×</button>'
|
popoverTitle += '<button type="button" class="close" onclick="$('.parent-button').popover('hide');">×</button>'
|
||||||
popoverContent = ->
|
popoverContent = ->
|
||||||
console.log 'found html', $('.parent-button-popover-content').html()
|
|
||||||
$('.parent-button-popover-content').html()
|
$('.parent-button-popover-content').html()
|
||||||
@$el.find('.parent-button').popover(
|
@$el.find('.parent-button').popover(
|
||||||
animation: true
|
animation: true
|
||||||
|
@ -78,6 +77,7 @@ module.exports = class SubscribeModal extends ModalView
|
||||||
|
|
||||||
setupPaymentMethodsInfoPopover: ->
|
setupPaymentMethodsInfoPopover: ->
|
||||||
popoverTitle = $.i18n.t('subscribe.payment_methods_title')
|
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_blurb1') + "</p>"
|
||||||
popoverContent += "<p>" + $.i18n.t('subscribe.payment_methods_blurb2') + " <a href='mailto:support@codecombat.com'>support@codecombat.com</a>."
|
popoverContent += "<p>" + $.i18n.t('subscribe.payment_methods_blurb2') + " <a href='mailto:support@codecombat.com'>support@codecombat.com</a>."
|
||||||
@$el.find('#payment-methods-info').popover(
|
@$el.find('#payment-methods-info').popover(
|
||||||
|
|
Loading…
Reference in a new issue