keydown/keypress (safari/firefox)
This commit is contained in:
parent
f21dc4404c
commit
158d417850
|
@ -457,8 +457,11 @@ requires
|
|||
};
|
||||
|
||||
$(function() {
|
||||
$document.keydown(keydown);
|
||||
$document.keypress(keydown);
|
||||
if ($.browser.safari) {
|
||||
$document.keydown(keydown);
|
||||
} else {
|
||||
$document.keypress(keydown);
|
||||
}
|
||||
});
|
||||
function keydown(event) {
|
||||
var key,
|
||||
|
|
Loading…
Reference in New Issue
Block a user