1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Make rating button look like other buttons

This commit is contained in:
Dmitry Lyzo 2023-05-21 00:50:15 +03:00
parent a84bee544a
commit d80650e0dd
2 changed files with 5 additions and 4 deletions

View file

@ -1739,6 +1739,9 @@ export default function (view) {
view.querySelector('.btnAudio').addEventListener('click', showAudioTrackSelection);
view.querySelector('.btnSubtitles').addEventListener('click', showSubtitleTrackSelection);
// HACK: Remove `emby-button` from the rating button to make it look like the other buttons
view.querySelector('.btnUserRating').classList.remove('emby-button');
// Register to SyncPlay playback events and show big animated icon
const showIcon = (action) => {
let primary_icon_name = '';