mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unused variables
This commit is contained in:
parent
6a60938b09
commit
f60b7686d0
110 changed files with 242 additions and 277 deletions
|
@ -135,7 +135,7 @@ class HtmlAudioPlayer {
|
|||
|
||||
const hls = new Hls({
|
||||
manifestLoadingTimeOut: 20000,
|
||||
xhrSetup: function (xhr, url) {
|
||||
xhrSetup: function (xhr) {
|
||||
xhr.withCredentials = includeCorsCredentials;
|
||||
}
|
||||
});
|
||||
|
@ -280,7 +280,7 @@ class HtmlAudioPlayer {
|
|||
Events.trigger(self, 'playing');
|
||||
}
|
||||
|
||||
function onPlay(e) {
|
||||
function onPlay() {
|
||||
Events.trigger(self, 'unpause');
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ class HtmlAudioPlayer {
|
|||
}
|
||||
}
|
||||
|
||||
duration(val) {
|
||||
duration() {
|
||||
const mediaElement = this._mediaElement;
|
||||
if (mediaElement) {
|
||||
const duration = mediaElement.duration;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue