X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cff00e2705f56b4622bbb3c59629e760a0ffa674..03125d2d1edf884a0c1043640f37bb05b69b6c46:/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(); }