Skip to content

Commit c659721

Browse files
author
tzury bar yochay
committed
num-pad are not firefox only
1 parent 873ce2c commit c659721

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

jquery.hotkeys.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ Note:
5656
}
5757
};
5858
// add firefox num pad char codes
59-
if (jQuery.browser.mozilla){
60-
hotkeys.specialKeys = jQuery.extend(hotkeys.specialKeys, { 96: '0', 97:'1', 98: '2', 99:
61-
'3', 100: '4', 101: '5', 102: '6', 103: '7', 104: '8', 105: '9', 106: '*',
62-
107: '+', 109: '-', 110: '.', 111 : '/'
63-
});
64-
}
59+
//if (jQuery.browser.mozilla){
60+
// add num pad char codes
61+
hotkeys.specialKeys = jQuery.extend(hotkeys.specialKeys, { 96: '0', 97:'1', 98: '2', 99:
62+
'3', 100: '4', 101: '5', 102: '6', 103: '7', 104: '8', 105: '9', 106: '*',
63+
107: '+', 109: '-', 110: '.', 111 : '/'
64+
});
65+
//}
6566

6667
// a wrapper around of $.fn.find
6768
// see more at: http://groups.google.com/group/jquery-en/browse_thread/thread/18f9825e8d22f18d

0 commit comments

Comments
 (0)