From 75430dad9e08beb40c2533f705128c9e2a96ac9b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 16 Jan 2023 14:19:49 -0500 Subject: [PATCH] Remove flip code as we are using the code in skin.js now. Instead of setting height to auto, just clear it so that css rules apply. --- web/skins/classic/views/js/montagereview.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js index 697bb1882..5b36e73dd 100644 --- a/web/skins/classic/views/js/montagereview.js +++ b/web/skins/classic/views/js/montagereview.js @@ -594,6 +594,7 @@ function redrawScreen() { scaleDiv.hide(); fit.text('Scale'); monitors.height(mh.toString() + 'px'); // leave a small gap at bottom + if (maxfit2(monitors.outerWidth(), monitors.outerHeight()) == 0) { /// if we fail to fix we back out of fit mode -- ??? This may need some better handling console.log("Failed to fit, dropping back to scaled mode"); fitMode=1-fitMode; @@ -601,17 +602,17 @@ function redrawScreen() { } else { // switch out of fit mode // if we fit, then monitors were absolutely positioned already (or will be) otherwise release them to float - for ( var i=0; i>>>>>>>> Initialization that runs on window load by being at the bottom function initPage() { - jQuery(document).ready(function() { - jQuery("#hdrbutton").click(function() { - jQuery("#flipMontageHeader").slideToggle("slow"); - jQuery("#hdrbutton").toggleClass('glyphicon-menu-down').toggleClass('glyphicon-menu-up'); - }); - }); - if (!liveMode) { load_Frames(events); canvas = document.getElementById('timeline');