Skip to:
Content

BuddyPress.org

Changeset 9998


Ignore:
Timestamp:
07/05/2015 07:10:47 PM (4 years ago)
Author:
boonebgorges
Message:

Toggle the 'active' class on the What's New input box when it's expanded.

Props hnla.
Fixes #6414.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/js/buddypress.js

    r9846 r9998  
    6060        });
    6161        jq('#aw-whats-new-submit').prop('disabled', false);
     62
     63        jq( '#whats-new-content' ).addClass( 'active' );
    6264
    6365        var $whats_new_form = jq('form#whats-new-form'),
     
    9496                });
    9597                jq('#aw-whats-new-submit').prop('disabled', true);
     98                jq( '#whats-new-content' ).removeClass( 'active' );
    9699            }
    97100        }
     
    216219            });
    217220            jq('#aw-whats-new-submit').prop('disabled', true).removeClass('loading');
     221            jq( '#whats-new-content' ).removeClass( 'active' );
    218222        });
    219223
Note: See TracChangeset for help on using the changeset viewer.