Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Update .trigger() docs to consider #6170 #298

binki opened this Issue · 0 comments

1 participant


#6170 changes the behaviour of jQuery.trigger() such that the following text is invalid:

Note: For both plain objects and DOM objects, if a triggered event name matches the name of a property on the object, jQuery will attempt to invoke the property as a method if no event handler calls event.preventDefault(). If this behaviour is not desired, use .triggerHandler() instead.

This note should state that this behavior does not work on the window object and reference #6170. ( declares that window is a DOM object by referring to it as “the DOM window object”).

@dmethvin dmethvin closed this in f5c13ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.