Export to GitHub

js-hotkeys - issue #94

Multiple trigger callback


Posted on Nov 16, 2010 by Swift Giraffe

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!

Status: New

Labels:
Type-Defect Priority-Medium