Browse files

num-pad are not firefox only

  • Loading branch information...
1 parent 873ce2c commit c659721b2926a1711d7cf99441b513356bf8e58c tzury bar yochay committed May 3, 2009
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

0 comments on commit c659721

Please sign in to comment.