From 231c9303fd894c48f0d3fc3013bfeaebf7c79af2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 11 Feb 2021 11:50:05 -0500 Subject: [PATCH] Handle null vidWidth --- web/skins/classic/views/js/event.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/js/event.js b/web/skins/classic/views/js/event.js index b6d935215..225d89662 100644 --- a/web/skins/classic/views/js/event.js +++ b/web/skins/classic/views/js/event.js @@ -840,6 +840,7 @@ function getStat() { } function onStatsResize(vidwidth) { + if (!vidWidth) return; var minWidth = 300; // An arbitrary value in pixels used to hide the stats table var scale = $j('#scale').val();