Side navigation
#13484 closed bug (notabug)
Opened February 20, 2013 05:14PM UTC
Closed February 20, 2013 05:18PM UTC
Last modified February 20, 2013 05:24PM UTC
$.event.trigger no longer working with .on()
Reported by: | jordanrs2k1@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following code works fine in v 1.8.3 but upgrading up to v 1.9.X the event stops firing
$('#someelement').on('blaa', function(){ console.log('blaa fired'); }) $.event.trigger('blaa')
I have created a simple fiddle to see the difference between the two version
Sorry but whoever told you to use
$.event.trigger()
at all was wrong. It is not a documented interface.