mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix sonarqube issues
This commit is contained in:
parent
be9f964c18
commit
a3949c1889
30 changed files with 58 additions and 59 deletions
|
@ -727,12 +727,12 @@ export default function () {
|
|||
});
|
||||
context.querySelector('.btnAudioTracks').addEventListener('click', function (e) {
|
||||
if (currentPlayer && lastPlayerState && lastPlayerState.NowPlayingItem) {
|
||||
showAudioMenu(context, currentPlayer, e.target, lastPlayerState.NowPlayingItem);
|
||||
showAudioMenu(context, currentPlayer, e.target);
|
||||
}
|
||||
});
|
||||
context.querySelector('.btnSubtitles').addEventListener('click', function (e) {
|
||||
if (currentPlayer && lastPlayerState && lastPlayerState.NowPlayingItem) {
|
||||
showSubtitleMenu(context, currentPlayer, e.target, lastPlayerState.NowPlayingItem);
|
||||
showSubtitleMenu(context, currentPlayer, e.target);
|
||||
}
|
||||
});
|
||||
context.querySelector('.btnStop').addEventListener('click', function () {
|
||||
|
@ -946,7 +946,7 @@ export default function () {
|
|||
};
|
||||
|
||||
self.onShow = function () {
|
||||
onShow(dlg, window.location.hash);
|
||||
onShow(dlg);
|
||||
};
|
||||
|
||||
self.destroy = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue