Make WordPress Core

Changeset 27281


Ignore:
Timestamp:
02/26/2014 07:36:05 AM (10 years ago)
Author:
nacin
Message:

Remove title attributes on the fly when [27280] makes them incorrect. see #17703.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/updates.js

    r27280 r27281  
    1919            return;
    2020        }
     21        $( '#wp-admin-bar-updates .ab-item' ).removeAttr( 'title' );
    2122        $elem.text( count );
    2223
     
    2526            elem.className = elem.className.replace( /count-\d+/, 'count-' + count );
    2627        } );
     28        $elem.removeAttr( 'title' );
    2729        $elem.find( '.update-count' ).text( count );
    2830
Note: See TracChangeset for help on using the changeset viewer.