Wyłapywanie tylko znanych skrótów klawiszowych.
[redakcja.git] / project / templates / explorer / file_xml.html
index 719713e..727dc12 100644 (file)
@@ -83,7 +83,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();
                 }