Skip to:
Content

BuddyPress.org

Changeset 6033


Ignore:
Timestamp:
05/14/2012 04:05:54 PM (13 years ago)
Author:
boonebgorges
Message:

More unbinding of JS actions from overspecific selectors

This changeset removes the 'div' specifier from the bp-default js that shows/hides the #new-topic-post div.

Fixes #3821
Props hnla

File:
1 edited

Legend:

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

    r6003 r6033  
    1010    /* Hide Forums Post Form */
    1111    if ( '-1' == window.location.search.indexOf('new') && jq('div.forums').length )
    12         jq('div#new-topic-post').hide();
     12        jq('#new-topic-post').hide();
    1313    else
    14         jq('div#new-topic-post').show();
     14        jq('#new-topic-post').show();
    1515
    1616    /* Activity filter and scope set */
Note: See TracChangeset for help on using the changeset viewer.