Usunięcie pliku autocompletion.js pozostałego po usuniętym dawno skrypcie EditArea.
[redakcja.git] / project / templates / explorer / file_xml.html
index 719713e..c1521c6 100644 (file)
@@ -24,6 +24,7 @@
             $('#toggle-sidebar').toggle(function() {
                 $('#images-wrap').width(480);
                 $('#sidebar').width(488);
             $('#toggle-sidebar').toggle(function() {
                 $('#images-wrap').width(480);
                 $('#sidebar').width(488);
+                $('#images-wrap').data('lazyload:lastCheckedScrollTop', -10000);
                 resizePanels();
             }, function() {
                 $('#images-wrap').width(0);
                 resizePanels();
             }, function() {
                 $('#images-wrap').width(0);
@@ -83,7 +84,9 @@
                         if (keys[event.keyCode]) {
                             keys[event.keyCode]();
                         }
                         if (keys[event.keyCode]) {
                             keys[event.keyCode]();
                         }
-                    }, function(event) { return event.ctrlKey && event.keyCode != 17; });
+                    }, function(event) {
+                        return event.ctrlKey && keys[event.keyCode];
+                    });
 
                     resizePanels();
                 }
 
                     resizePanels();
                 }