-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacks - Jackie - Rolodex #32
base: master
Are you sure you want to change the base?
Conversation
…app.js. Also added cancel feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some notes in the code.
this.template = params.template; | ||
|
||
this.listenTo(this.model, "update", this.render); | ||
$('.modal-container').hide(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be this.$('.modal-container').hide();
Remember to avoid raw jQuery in a view.
@@ -64,3 +64,12 @@ header { | |||
.contact-card:hover h3 { | |||
color: white; | |||
} | |||
|
|||
.modal-container { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clever to do it this way so your View picks up the click to hide it.
ROLODEXWhat We're Looking For
|
ROLODEX
Congratulations! You're submitting your assignment!
Comprehension Questions