mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Add sounds to SubscribeModal
This commit is contained in:
parent
ffdd19d99b
commit
b4b444023e
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,7 @@ module.exports = class SubscribeModal extends ModalView
|
|||
@setupPaymentMethodsInfoPopover()
|
||||
if @basicProduct
|
||||
@$el.find('.gem-amount').html $.i18n.t('subscribe.feature4').replace('{{gems}}', @basicProduct.get('gems'))
|
||||
@playSound 'game-menu-open'
|
||||
|
||||
setupParentButtonPopover: ->
|
||||
popoverTitle = $.i18n.t 'subscribe.parent_email_title'
|
||||
|
@ -221,3 +222,7 @@ module.exports = class SubscribeModal extends ModalView
|
|||
@state = 'unknown_error'
|
||||
@stateMessage = "#{xhr.status}: #{xhr.responseText}"
|
||||
@render()
|
||||
|
||||
onHidden: ->
|
||||
super()
|
||||
@playSound 'game-menu-close'
|
||||
|
|
Loading…
Add table
Reference in a new issue