Avatar still shown in "voted" pane after vote removed

I think this is because this.scheduleRerender() isn’t being called after the removeVote() ajax request returns. I’ve opened a PR to resolve this; in this PR, I’ve also moved this.scheduleRerender() so that it’s always called at the end of the addVote() ajax promise resolution.

https://github.com/discourse/discourse-voting/pull/26

3 לייקים