Skip to:
Content

BuddyPress.org

Changeset 12406


Ignore:
Timestamp:
06/29/2019 07:03:20 PM (5 years ago)
Author:
imath
Message:

BP Nouveau: use a class to inform about the Activity post form state

When the Activity post form is expanded, it now contains a new class activity-form-expanded.

Props razor90

Fixes #8106

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js

    r12358 r12406  
    627627            } );
    628628
     629            this.$el.addClass( 'activity-form-expanded' );
     630
    629631            // Add the container view for buttons or custom fields.
    630632            if ( true === this.options.backcompat.post_form_options ) {
     
    662664                height : '50px'
    663665            } );
     666
     667            this.$el.removeClass( 'activity-form-expanded' );
    664668
    665669            // Reset the model
Note: See TracChangeset for help on using the changeset viewer.