Skip to:
Content

BuddyPress.org

Changeset 5791


Ignore:
Timestamp:
02/15/2012 08:37:40 PM (13 years ago)
Author:
boonebgorges
Message:

Use .on() for profile privacy jQuery. See #3695. Props DJPaul.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/global.js

    r5789 r5791  
    810810    /** Profile Privacy Settings *********************************/
    811811   
    812     jq('.privacy-toggle-link').click( function() {
     812    jq('.privacy-toggle-link').on( 'click', function() {
    813813        var toggle_div = jq(this).parent();
    814814       
     
    820820    } );
    821821
    822     jq('.field-privacy-settings-close').click( function() {
     822    jq('.field-privacy-settings-close').on( 'click', function() {
    823823        var settings_div = jq(this).parent();
    824824       
Note: See TracChangeset for help on using the changeset viewer.