mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Fixed modal popping up when logging out sometimes
This commit is contained in:
parent
aa40257034
commit
bbc793b003
1 changed files with 3 additions and 1 deletions
|
@ -300,7 +300,9 @@ module.exports = class EmployersView extends View
|
|||
8:
|
||||
'✓': filterSelectExactMatch
|
||||
'✗': filterSelectExactMatch
|
||||
|
||||
logoutAccount: ->
|
||||
window.location.hash = ''
|
||||
super()
|
||||
onCandidateClicked: (e) ->
|
||||
id = $(e.target).closest('tr').data('candidate-id')
|
||||
if id and (@isEmployer() or me.isAdmin())
|
||||
|
|
Loading…
Reference in a new issue