Handle null vidWidth

This commit is contained in:
Isaac Connor 2021-02-11 11:50:05 -05:00
parent af354eb718
commit 231c9303fd
1 changed files with 1 additions and 0 deletions

View File

@ -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();