OscarGodson / jKey

Key shortcuts made simple
http://oscargodson.github.com/jKey/
185 stars 40 forks source link

Unbind should proceed bind #8

Closed bryanlb closed 13 years ago

bryanlb commented 13 years ago

Lines 197 and 248 should be as follows, respectively:

$this.unbind('keydown').bind('keydown',function(e){ }).unbind('keyup').bind('keyup',function(e) {

This will allow for re-applying the jKey class on ajax added elements.

OscarGodson commented 13 years ago

Ill test this out. Do you wanna just send me a pull request?