Coding style overhaul for Python files (PEP8 conformant). Removed buggy csstidy pytho...
[redakcja.git] / platforma / static / js / wiki / main.js
index ef127e3..9693ce2 100644 (file)
@@ -25,6 +25,10 @@ $(function()
                        doc: CurrentDocument
                });
                
                        doc: CurrentDocument
                });
                
+               $(document).keydown(function(event) {
+                       console.log("Received key:", event);
+               });
+               
                /* The save button */
         $('#save-button').click(function(event){
             event.preventDefault();
                /* The save button */
         $('#save-button').click(function(event){
             event.preventDefault();