Skip to content

Commit f2248b1

Browse files
authored
Update fast-search-card.js
1 parent 911b064 commit f2248b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dist/fast-search-card.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12106,12 +12106,12 @@ class FastSearchCard extends HTMLElement {
1210612106
if (prevBtn) prevBtn.addEventListener('click', () => this.callMusicAssistantService('media_previous_track', item.id));
1210712107

1210812108
if (playPauseBtn) {
12109-
playPauseBtn.addEventListener('click', (e) => {
12109+
playPauseBtn.addEventListener('click', ((e) => {
1211012110
e.preventDefault();
1211112111
e.stopPropagation();
12112-
this.handleQuickAction('play-pause', item); // ✅ Verwende existierende Funktion
12113-
});
12114-
}
12112+
this.handleQuickAction('play-pause', item);
12113+
}).bind(this));
12114+
}
1211512115

1211612116
if (nextBtn) nextBtn.addEventListener('click', () => this.callMusicAssistantService('media_next_track', item.id));
1211712117

0 commit comments

Comments
 (0)