Changeset 9048
- Timestamp:
- 07/16/2019 02:57:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r8973 r9048 1046 1046 if ( 1 !== keywords.length || keywords[0] !== '' ) { 1047 1047 $.each( keywords, function( k, v ) { 1048 var html = $( '<span />' ).text( v ).attr( 'data-keyword', v ).prepend( '<button type="button" aria-label="Remove ' + v +' keyword" class="keyword-button-remove dashicons dashicons-dismiss" />');1048 var html = $( '<span />' ).text( v ).attr( 'data-keyword', v ).prepend( $( '<button type="button" aria-label="Remove keyword" class="keyword-button-remove dashicons dashicons-dismiss" />' ).attr( 'aria-label', 'Remove ' + v + ' keyword' ) ); 1049 1049 if ( v in coreKeywordList ) { 1050 1050 html.attr('title', coreKeywordList[v]); … … 1121 1121 1122 1122 // Add it to the bin, and refresh the hidden input. 1123 html = $( '<span />' ).text( keyword ).attr( 'data-keyword', keyword ).prepend( '<button type="button" aria-label="Remove ' + keyword +' keyword" class="keyword-button-remove dashicons dashicons-dismiss" />');1123 html = $( '<span />' ).text( keyword ).attr( 'data-keyword', keyword ).prepend( $( '<button type="button" aria-label="Remove keyword" class="keyword-button-remove dashicons dashicons-dismiss" />' ).attr( 'aria-label', 'Remove ' + keyword +' keyword' ) ); 1124 1124 if ( title ) { 1125 1125 html.attr('title', title);
Note: See TracChangeset
for help on using the changeset viewer.