-
Notifications
You must be signed in to change notification settings - Fork 640
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
Add required bindings to the like count container. closes #562 #568
Add required bindings to the like count container. closes #562 #568
Conversation
vladjerca
commented
Jan 29, 2016
- clicking the count container will now trigger the like song event
- SCSS has been updated in order to set the active color after the song is liked
- clicking the count container will now trigger the like song event - SCSS has been updated in order to set the active color after the song is liked
@@ -9,7 +9,9 @@ | |||
<span class="playback_count"> | |||
<i class="fa fa-play"></i> {{track.playback_count | number}} | |||
</span> | |||
<span class="likes_count"> | |||
<span class="likes_count" ng-click="changeLike()" |
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.
why do we have ng-click="changeLike()"
but isn't being used.
@vladjerca the heart state changes but theres a couple of things I noticed.. the number/counter doesn't change.. also there is a piece of code not in use Can you make the counter go up as well? |
@weblancaster Yeah, I can take care of it. |
@vladjerca let me know once you are done with this. |
- add count definition to favoriteSong directive and update accordingly after each event - removed remnant changeLike from click events
@weblancaster I've updated the directive definition and modified all affected html sections. |
Thanks for the PR @vladjerca and apologies for the delay in review. |
Add required bindings to the like count container. closes #562
I love the app, only seems logical to give back how much I can. |