Skip to:
Content

BuddyPress.org

Changeset 9235


Ignore:
Timestamp:
12/17/2014 03:08:48 PM (10 years ago)
Author:
boonebgorges
Message:

Hide 'Field Name' screen-reader-text on xProfile field edit when a title exists.

This ensures that we don't see overlapping text in the case of existing fields.

See [9084].

Fixes #6073.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/admin/js/admin.js

    r9085 r9235  
    127127    if ( '' === title.val() ) {
    128128        titleprompt.removeClass('screen-reader-text');
     129    } else {
     130        titleprompt.addClass('screen-reader-text');
    129131    }
    130132
Note: See TracChangeset for help on using the changeset viewer.