mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 17:02:18 -05:00
Made it so that modal doesn't show if you've signed the contract
This commit is contained in:
parent
eca35ce371
commit
294570cb1b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module.exports = class EmployersView extends View
|
|||
|
||||
|
||||
checkForEmployerSignupHash: =>
|
||||
if window.location.hash is "#employerSignupLoggingIn"
|
||||
if window.location.hash is "#employerSignupLoggingIn" and not ("employer" in me.get("permissions"))
|
||||
@openModalView application.router.getView("modal/employer_signup","_modal")
|
||||
window.location.hash = ""
|
||||
afterRender: ->
|
||||
|
|
Loading…
Reference in a new issue