You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have traced down the problem to the line: base.$el.unbind( (o.openOn) ? o.openOn + '.keyboard' : '');
Apparently there is an undocumented behavior in jQuery where when the argument to unbind() is empty string, all event handlers are removed. This should be the behavior for unbind() with no arguments, but obviously they didn't do enough checking.
I made a jsfiddle for this. This unexpected behavior started as early as version 1.4.4.
I propose the following fix:
if (o.openOn) { base.$el.unbind( o.openOn + '.keyboard'); }
The text was updated successfully, but these errors were encountered:
I have traced down the problem to the line:
base.$el.unbind( (o.openOn) ? o.openOn + '.keyboard' : '');
Apparently there is an undocumented behavior in jQuery where when the argument to unbind() is empty string, all event handlers are removed. This should be the behavior for unbind() with no arguments, but obviously they didn't do enough checking.
I made a jsfiddle for this. This unexpected behavior started as early as version 1.4.4.
I propose the following fix:
if (o.openOn) { base.$el.unbind( o.openOn + '.keyboard'); }
The text was updated successfully, but these errors were encountered: