You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request addresses the issue of repeated dislike counts being displayed in the YouTube dislike extension.
### Changes Made:
- Prevented adding duplicate elements in the `makeUI` function.
- Reset the `listeners` array after clearing existing listeners in the `run` function.
- Updated the content instead of adding new elements in the DOM updates.
### Motivation and Context
This fix ensures that the dislike counts are displayed correctly without repetition, improving the user experience.
### Checklist:
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
0 commit comments