mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add missing semicolons
This commit is contained in:
parent
9a16060663
commit
b36be70d40
1 changed files with 9 additions and 9 deletions
|
@ -24,7 +24,7 @@
|
||||||
self.updateCanClientSeek = function (elem) {
|
self.updateCanClientSeek = function (elem) {
|
||||||
var duration = elem.duration;
|
var duration = elem.duration;
|
||||||
canClientSeek = duration && !isNaN(duration) && duration != Number.POSITIVE_INFINITY && duration != Number.NEGATIVE_INFINITY;
|
canClientSeek = duration && !isNaN(duration) && duration != Number.POSITIVE_INFINITY && duration != Number.NEGATIVE_INFINITY;
|
||||||
}
|
};
|
||||||
|
|
||||||
$(window).on("beforeunload popstate", function () {
|
$(window).on("beforeunload popstate", function () {
|
||||||
|
|
||||||
|
@ -59,11 +59,11 @@
|
||||||
muteButton.hide();
|
muteButton.hide();
|
||||||
unmuteButton.show();
|
unmuteButton.show();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
self.getCurrentTicks = function (mediaElement) {
|
self.getCurrentTicks = function (mediaElement) {
|
||||||
return Math.floor(10000000 * (mediaElement || currentMediaElement).currentTime) + self.startTimeTicksOffset;
|
return Math.floor(10000000 * (mediaElement || currentMediaElement).currentTime) + self.startTimeTicksOffset;
|
||||||
}
|
};
|
||||||
|
|
||||||
self.onPlaybackStopped = function () {
|
self.onPlaybackStopped = function () {
|
||||||
|
|
||||||
|
@ -86,14 +86,14 @@
|
||||||
}
|
}
|
||||||
self.resetEnhancements();
|
self.resetEnhancements();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
self.playNextAfterEnded = function () {
|
self.playNextAfterEnded = function () {
|
||||||
|
|
||||||
$(this).off('ended.playnext');
|
$(this).off('ended.playnext');
|
||||||
|
|
||||||
self.nextTrack();
|
self.nextTrack();
|
||||||
}
|
};
|
||||||
|
|
||||||
self.startProgressInterval = function (itemId) {
|
self.startProgressInterval = function (itemId) {
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
return '.mp4';
|
return '.mp4';
|
||||||
}
|
};
|
||||||
|
|
||||||
self.changeStream = function (ticks, params) {
|
self.changeStream = function (ticks, params) {
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
function onPositionSliderChange() {
|
function onPositionSliderChange() {
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
currentTimeElement.html(timeText);
|
currentTimeElement.html(timeText);
|
||||||
}
|
};
|
||||||
|
|
||||||
function playAudio(item, startPositionTicks) {
|
function playAudio(item, startPositionTicks) {
|
||||||
|
|
||||||
|
@ -757,7 +757,7 @@
|
||||||
if (trimmed) {
|
if (trimmed) {
|
||||||
trimmed += "...";
|
trimmed += "...";
|
||||||
} else {
|
} else {
|
||||||
trimmed = "---"
|
trimmed = "---";
|
||||||
}
|
}
|
||||||
return trimmed;
|
return trimmed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue