[buddypress-trac] [BuddyPress] #4074: jQuery and replacement of	.on() for .live()
    buddypress-trac at lists.automattic.com 
    buddypress-trac at lists.automattic.com
       
    Fri Mar 16 13:50:04 UTC 2012
    
    
  
#4074: jQuery and replacement of .on() for .live()
--------------------------+-----------------------------
 Reporter:  netweblogic   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Core          |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Comment (by netweblogic):
 yes, I'm very wrong actually! works first time round but not on following
 clicks. still easy to migrate, but a little more copy/paste involved:
 $(selector).live(events, data, handler);                // jQuery 1.3+
 $(document).on(events, selector, data, handler);        // jQuery 1.7+
 as per http://api.jquery.com/live/
-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4074#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
    
    
More information about the buddypress-trac
mailing list