#15224 closed bug (notabug)
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.
Change History (2)
comment:1 Changed 8 years ago by
Component: | unfiled → event |
---|---|
Resolution: | → notabug |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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/