Created
November 28, 2013 14:19
-
-
Save m4tm4t/7692608 to your computer and use it in GitHub Desktop.
This file contains 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
$(window).on('keydown', function(event) { | |
if (event.ctrlKey && event.which != 17) { | |
if (event.which == 80) { | |
event.preventDefault(); | |
alert('CTRL + P !'); | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment