Created
December 8, 2016 15:21
-
-
Save skorotkiewicz/83233346605387d22a547c93d2d56b8c to your computer and use it in GitHub Desktop.
jQuery Ctrl + S for save
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jQuery Ctrl + S for save | |
$(document).keydown(function(e) { | |
if(e.ctrlKey && e.altKey && e.which === 83) { | |
save(); | |
return false; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment