mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Suppress conditional assignment error in humanedate lib
This commit is contained in:
parent
29e7c4775b
commit
210e241c77
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ define(["datetime"], function (datetime) {
|
||||||
if (seconds < 0) {
|
if (seconds < 0) {
|
||||||
seconds = Math.abs(seconds);
|
seconds = Math.abs(seconds);
|
||||||
}
|
}
|
||||||
|
// eslint-disable-next-line no-cond-assign
|
||||||
for (; format = time_formats[i++];) {
|
for (; format = time_formats[i++];) {
|
||||||
if (seconds < format[0]) {
|
if (seconds < format[0]) {
|
||||||
if (2 == format.length) {
|
if (2 == format.length) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue