mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Event: remove guard for falsy handler argument of jQuery#on method
Since we don't have this in off method and its a common perception that this is a rudiment code Ref gh-2248 Closes gh-2249
This commit is contained in:
@@ -819,8 +819,6 @@ jQuery.fn.extend({
|
||||
}
|
||||
if ( fn === false ) {
|
||||
fn = returnFalse;
|
||||
} else if ( !fn ) {
|
||||
return this;
|
||||
}
|
||||
|
||||
if ( one === 1 ) {
|
||||
|
||||
Reference in New Issue
Block a user