X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bf542e5c5ebf5c3df36601630414c8bdfffc7862..8fc3d8505b109795a205f4d48bceb3806f638291:/project/templates/explorer/file_xml.html?ds=sidebyside diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index b906512c..5a6a443e 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -14,7 +14,7 @@ // ======================== function resizePanels() { $('.panel').height($(window).height() - $('.panel').position().top); - $('#right-panel-wrap').width($(window).width() - $('#right-panel-wrap').position().left); + $('#right-panel-wrap').width($(window).width() - $('#left-panel-wrap').outerWidth()); } $(window).resize(function() { @@ -114,10 +114,24 @@