Skip to:
Content

BuddyPress.org

Ticket #7897: 7897.patch

File 7897.patch, 632 bytes (added by imath, 2 years ago)
  • src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js

    diff --git src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js
    index 1e17af71d..ff2ea5fda 100644
    window.bp = window.bp || {}; 
    3232
    3333                postFormView: function() {
    3434                        // Do not carry on if the main element is not available.
    35                         if ( ! $( '#bp-nouveau-activity-form' ).length ) {
     35                        if ( ! $( '#bp-nouveau-activity-form' ).length || ! $( '#tmpl-activity-post-form-feedback').length ) {
    3636                                return;
    3737                        }
    3838