mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -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 += '<button type="button" class="close" onclick="$('.parent-button').popover('hide');">×</button>'
|
||||
popoverContent = ->
|
||||
console.log 'found html', $('.parent-button-popover-content').html()
|
||||
$('.parent-button-popover-content').html()
|
||||
@$el.find('.parent-button').popover(
|
||||
animation: true
|
||||
|
@ -78,6 +77,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…
Reference in a new issue