Steps to reproduce:
- User A posts a message
- User B stars it, the star next to the post appears yellow
- User A edits the post
- The display of the star in User B's view becomes black, as if they haven't starred it
This is the worst bug ever in the history of StackExchange and makes the entire network completely unusable for me. I'm going to Yahoo! Answers until this is fixed.
var isStarredByMe = postIsStarredByMe(post);
before the DOM is updated, and then restore the display based on that flag afterwards. I know from bitter experience that a lot of the DOM is outright replaced when a post is edited, rather than updating the content.