Skip to content
Snippets Groups Projects
Commit e1a499f6 authored by Tom Needham's avatar Tom Needham
Browse files

disable keyboard shortcuts as temp fix

parent c2183427
Branches
No related tags found
No related merge requests found
......@@ -234,6 +234,7 @@ function hideFileEditor(){
// Keyboard Shortcuts
var ctrlBtn = false;
// TODO fix detection of ctrl keyup
// returns true if ctrl+s or cmd+s is being pressed
function checkForSaveKeyPress(e){
if(e.which == 17 || e.which == 91) ctrlBtn=true;
......@@ -276,5 +277,5 @@ $(document).ready(function(){
bindControlEvents();
// Binds the save keyboard shortcut events
$(document).unbind('keydown').bind('keydown',checkForSaveKeyPress);
//$(document).unbind('keydown').bind('keydown',checkForSaveKeyPress);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment