Skip to content
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

fix voting on polls clicking opening tweets + NaN css width vote count percentage bug #632

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

shy1132
Copy link
Contributor

@shy1132 shy1132 commented Dec 7, 2023

before if you voted on a poll, due to recent changes, it'd click through the poll option and open the tweet as well
to fix that i just gave poll choices the tweet-button class

and if a poll choice had 0 votes, it's css width would be NaN, so i fixed that too by just falling back to 0 if its not a number

@dimdenGD dimdenGD merged commit fb4541a into dimdenGD:master Dec 7, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants