I have a answers list like below:
each list item is a backbone model.
{
title: 'answer title...',
content: 'answer content...',
voteStatus: 'up'
}
When I click up-vote or down-vote, The model's voteStatus
will be change, and this answer item be re-render.
If there have a picture in answer's content, the picture will be re-render too, But this is not what I want.
How could I just re-render the vote button when I just change voteStatus
?
AnswerView
toVotingArrowsView
. when I do this and click the button, it's not work. It seems like the event listening is broken. Could you tell me why? – Estellaestelle