icecats11 / js-hotkeys

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

unbind doesnt work (fix included) #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. trying to unbind any combi

What is the expected output? What do you see instead?

expected: triggersMap[ObjName][evtName][combi] to be empty or reduced
instead:  triggersMap[ObjName][evtName][combi] accumulates 

What version of the product are you using? On what operating system?

0.7.8 packed and unpacked Mozilla Firefox 3.0.4/Linux

Please provide any additional information below.

fix is:

116:
+                     var combi = data.combi.toLowerCase(),

Nice lib, but this cost me quite some nerves. Hope i could help.

Original issue reported on code.google.com by samuel.b...@googlemail.com on 9 Dec 2008 at 11:19

GoogleCodeExporter commented 8 years ago
thanks. terrible mistake

Original comment by Afro.Sys...@gmail.com on 9 Dec 2008 at 11:37

GoogleCodeExporter commented 8 years ago
looking at the code. the lowercase is there

GoogleCode line 114: 
http://js-hotkeys.googlecode.com/files/jquery.hotkeys-0.7.8.js

and

GitHub line 111) 
http://github.com/tzuryby/jquery.hotkeys/tree/master/jquery.hotkeys.js

Are you sure this the version you are using?

Original comment by Afro.Sys...@gmail.com on 9 Dec 2008 at 11:45