Closed jaltek closed 9 years ago
Hi,
by using the closeOnEsc option (which is true by default) previous keydown functions from all keys are removed. I think this is caused by
closeOnEsc
$(document).off('keydown');
jAlert-v3.js - Line 533
IMHO only the function itself should be unregistered.
Good point. If you'd like to fork and fix, I'll happily merge. Otherwise, I'll get to it when I get a chance.
Fixed https://github.com/VersatilityWerks/jAlert/commit/b4bf16c6807056ee4795cf7fa9c7398b513dff9d
Works like charm. Thx ;)
Not a problem! Let me know if you need anything else :+1:
Hi,
by using the
closeOnEsc
option (which is true by default) previous keydown functions from all keys are removed. I think this is caused byjAlert-v3.js - Line 533
IMHO only the function itself should be unregistered.