Go to some user's profile with at least two original tweets.
Report on one of the tweets.
You would be able to report again.
This is only a UX issue, the server ignores it.
Expected
The rest report buttons of his tweets should be disabled.
Just an idea:
Add an attribute to each checked user containing the userId, then just add the class to all the elements that have this attribute.
Should make the parsePosts and parseTweets simpler and we won't need to store the checked element inside the ObjectKeyMap variable.
Actual
Expected
The rest report buttons of his tweets should be disabled.
Just an idea:
Add an attribute to each checked user containing the
userId
, then just add the class to all the elements that have this attribute. Should make theparsePosts
andparseTweets
simpler and we won't need to store the checked element inside theObjectKeyMap
variable.