Ticket #11925 (closed bug: fixed)
special.teardown should pass the handle as second argument
|Reported by:||Krinkle||Owned by:|
The code in jQuery.event.special.beforeunload.teardown assumes this second argument, but it is not being passed.
This causes the eventHandle to stay long after the last event has been unbound. (e.g. off('beforeunload', fn) does not remove handle from the property).