maheshchari / js-hotkeys

Automatically exported from code.google.com/p/js-hotkeys
0 stars 0 forks source link

Multiple trigger callback #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. bind keydown event twice as below:
jQuery(document).bind('keydown', 'ctrl+s',function (evt){
    alert("Ctrl+S");
    return false;
});
jQuery(document).bind('keydown', 'ctrl+q',function (evt){
    alert("Ctrl+q");
    return false;
});
2. press 'Ctrl' + 'q'
3.

What is the expected output? What do you see instead?
show 'Ctrl+q' once, but I got two

What version of the product are you using? On what operating system?
jQuery 1.4.2 & hotkey-0.7.9
Browser: IE6 / FF 3.6.6

Please provide any additional information below.
N/A

Thank you very much!

Original issue reported on code.google.com by Justink...@gmail.com on 16 Nov 2010 at 10:11