diff --git a/scripts/deezer/player_observer.js b/scripts/deezer/player_observer.js index 18a5412..d32422d 100644 --- a/scripts/deezer/player_observer.js +++ b/scripts/deezer/player_observer.js @@ -161,13 +161,7 @@ function deezerControlMethod_next() function deezerControlMethod_like() { "use strict"; - var songId = dzPlayer.getCurrentSong('SNG_ID'), - data = { type: 'song', id: songId }; - - if (userData.isFavorite('song', songId)) - favorite.remove(data); - else - favorite.add(data); + $('.track-actions button.svg-icon-group-btn.option-btn').click(); } function deezerControlMethod_linkCurrentSong()