Fix js error in montage review when using scaled mode. Fixes #3351

This commit is contained in:
Isaac Connor 2021-09-14 10:26:07 -04:00
parent 4553592caa
commit f299d57a39
1 changed files with 1 additions and 1 deletions

View File

@ -498,8 +498,8 @@ function redrawScreen() {
drawGraph(); drawGraph();
} }
var monitors = $j('#monitors');
if ( fitMode == 1 ) { if ( fitMode == 1 ) {
var monitors = $j('#monitors');
var fps = $j('#fps'); var fps = $j('#fps');
var vh = window.innerHeight; var vh = window.innerHeight;
var mh = (vh - monitors.position().top - fps.outerHeight()); var mh = (vh - monitors.position().top - fps.outerHeight());