diff --git a/web/skins/classic/js/skin.js b/web/skins/classic/js/skin.js index 725d56586..42a96aaf5 100644 --- a/web/skins/classic/js/skin.js +++ b/web/skins/classic/js/skin.js @@ -697,6 +697,7 @@ function endOfResize(e) { * Uses the #content element * figures out where bottomEl is in the viewport * does calculations + * scaleEl is the thing to be scaled, should be a jquery object and should have height * */ function scaleToFit(baseWidth, baseHeight, scaleEl, bottomEl, container, panZoomScale = 1) { $j(window).on('resize', endOfResize); //set delayed scaling when Scale to Fit is selected