From 5894023a9362c2ef9f1a6fb8a7a7d17e892f8d15 Mon Sep 17 00:00:00 2001 From: sech1p Date: Tue, 16 Mar 2021 12:48:55 +0100 Subject: [PATCH] fix typo --- webroot/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/js/player.js b/webroot/js/player.js index 07cb001..b37df45 100644 --- a/webroot/js/player.js +++ b/webroot/js/player.js @@ -120,7 +120,7 @@ window.addEventListener('DOMContentLoaded', (event) => { return 1; } if (a.vcodec !== 'none' && b.vcodec !== 'none') { - return b.width - a.height; + return b.height - a.height; } if (a.acodec !== 'none' && b.acodec !== 'none') { return b.abr - a.abr;