mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 21:44:40 -04:00
Fix #2916
This commit is contained in:
parent
890d528d80
commit
094743c4f5
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,7 @@ module.exports = class AuthModal extends ModalView
|
|||
afterRender: ->
|
||||
super()
|
||||
@$el.toggleClass('signup', @mode is 'signup').toggleClass('login', @mode is 'login')
|
||||
@playSound 'game-menu-open'
|
||||
|
||||
afterInsert: ->
|
||||
super()
|
||||
|
@ -155,3 +156,7 @@ module.exports = class AuthModal extends ModalView
|
|||
el.i18n()
|
||||
@$el.find('.modal-body:visible').empty().append(el)
|
||||
@$el.find('.modal-footer').remove()
|
||||
|
||||
onHidden: ->
|
||||
super()
|
||||
@playSound 'game-menu-close'
|
||||
|
|
Loading…
Add table
Reference in a new issue