Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

num-pad are not firefox only

  • Loading branch information...
commit c659721b2926a1711d7cf99441b513356bf8e58c 1 parent 873ce2c
tzury bar yochay authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 jquery.hotkeys.js
View
13 jquery.hotkeys.js
@@ -56,12 +56,13 @@ Note:
}
};
// add firefox num pad char codes
- if (jQuery.browser.mozilla){
- hotkeys.specialKeys = jQuery.extend(hotkeys.specialKeys, { 96: '0', 97:'1', 98: '2', 99:
- '3', 100: '4', 101: '5', 102: '6', 103: '7', 104: '8', 105: '9', 106: '*',
- 107: '+', 109: '-', 110: '.', 111 : '/'
- });
- }
+ //if (jQuery.browser.mozilla){
+ // add num pad char codes
+ hotkeys.specialKeys = jQuery.extend(hotkeys.specialKeys, { 96: '0', 97:'1', 98: '2', 99:
+ '3', 100: '4', 101: '5', 102: '6', 103: '7', 104: '8', 105: '9', 106: '*',
+ 107: '+', 109: '-', 110: '.', 111 : '/'
+ });
+ //}
// a wrapper around of $.fn.find
// see more at: http://groups.google.com/group/jquery-en/browse_thread/thread/18f9825e8d22f18d
Please sign in to comment.
Something went wrong with that request. Please try again.