From d523e0e3f16cb33d8d4f1e03721c13a44843ceda Mon Sep 17 00:00:00 2001 From: digital-gnome <31593470+digital-gnome@users.noreply.github.com> Date: Thu, 12 Oct 2017 12:41:54 -0400 Subject: [PATCH] remove sorting Don't sort monitors on resize. Fixes labels not matching graphs --- web/skins/classic/views/js/montagereview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js index 1ac40cb0e..53abf03d3 100644 --- a/web/skins/classic/views/js/montagereview.js +++ b/web/skins/classic/views/js/montagereview.js @@ -551,7 +551,7 @@ function maxfit2(divW, divH) { var borders=-1; - monitorPtr.sort(compSize); + //monitorPtr.sort(compSize); //Sorts monitors by size in viewport. If enabled makes captions not line up with graphs. while(1) { if( maxScale - minScale < 0.01 ) break;