fix: Fixed Skip Disliked Song not working (#2651)

This commit is contained in:
Joel Carlos
2024-11-28 19:21:41 +08:00
committed by GitHub
parent c2bd8ce188
commit 048a994f32

View File

@ -16,7 +16,7 @@ export default createPlugin<
restartNeeded: false,
renderer: {
start() {
waitForElement<HTMLElement>('#dislike-button-renderer').then(
waitForElement<HTMLElement>('#like-button-renderer').then(
(dislikeBtn) => {
this.observer = new MutationObserver(() => {
if (dislikeBtn?.getAttribute('like-status') == 'DISLIKE') {