mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 14:08:13 -05:00
Fixes #10477. Get .off(type, null, fn) right.
This commit is contained in:
@@ -953,7 +953,7 @@ jQuery.fn.extend({
|
||||
}
|
||||
return this;
|
||||
}
|
||||
if ( typeof selector !== "string" ) {
|
||||
if ( selector === false || typeof selector === "function" ) {
|
||||
// ( types [, fn] )
|
||||
fn = selector;
|
||||
selector = undefined;
|
||||
|
||||
Reference in New Issue
Block a user