summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAustin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com>2023-07-07 15:46:49 -0600
committerAustin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com>2023-07-07 15:46:49 -0600
commit1ad09c47fbda0bf6182dc06315ab1030cc66c0ad (patch)
treea9d943a9a6f1368722c85d5a5859287c631bae15 /ext
parente855d52d8d6fb0b8fa4c33eb1bb1fddfcb4f24f7 (diff)
fix: different duration for Firefox for whatever reason
Diffstat (limited to 'ext')
-rw-r--r--ext/js/media/audio-system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/media/audio-system.js b/ext/js/media/audio-system.js
index eb20bac6..d8b78fdc 100644
--- a/ext/js/media/audio-system.js
+++ b/ext/js/media/audio-system.js
@@ -80,7 +80,7 @@ class AudioSystem extends EventDispatcher {
const duration = audio.duration;
return (
duration !== 5.694694 && // Invalid audio (Chrome)
- duration !== 5.720718 // Invalid audio (Firefox)
+ duration !== 5.651111 // Invalid audio (Firefox)
);
}
default: