Side navigation
#15224 closed bug (notabug)
Opened September 01, 2014 03:58PM UTC
Closed September 01, 2014 09:16PM UTC
Last modified September 07, 2014 09:53PM UTC
triggering CustumEvents
Reported by: | ray007 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | event | Version: | 2.1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Trying to use .trigger() with a CustomEvent() fails in current firefox because the hasOwn() check used by jQuery to determine the type of the Event fails on the CustomEvent.
Google Chrome works fine.
Since there's no code, I'll assume you tried something like this:
The docs are pretty clear that you should trigger with a
jQuery.Event
, theCustomEvent
isn't even supported across all the jQuery 2.x browsers.http://api.jquery.com/trigger/