X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cff00e2705f56b4622bbb3c59629e760a0ffa674..57c5b8aa46338198ef52036849b7a50510dfe689:/project/templates/explorer/file_xml.html diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 719713e6..c1521c65 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -24,6 +24,7 @@ $('#toggle-sidebar').toggle(function() { $('#images-wrap').width(480); $('#sidebar').width(488); + $('#images-wrap').data('lazyload:lastCheckedScrollTop', -10000); resizePanels(); }, function() { $('#images-wrap').width(0); @@ -83,7 +84,9 @@ if (keys[event.keyCode]) { keys[event.keyCode](); } - }, function(event) { return event.ctrlKey && event.keyCode != 17; }); + }, function(event) { + return event.ctrlKey && keys[event.keyCode]; + }); resizePanels(); }