Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ESC Keypress closes window (27 = esc)
- $(document).on('keyup',function(e){
- if(e.keyCode==27){ $('.previewfile-overlay').click(); }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement