Nav menus: Adjust redundant titles in accessibility helpers.

Merge of [33540] to the 4.2 branch.
Built from https://develop.svn.wordpress.org/branches/4.2@33541


git-svn-id: http://core.svn.wordpress.org/branches/4.2@33508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-08-04 04:54:09 +00:00
parent 008c4fe3c4
commit fe8fa1b562
2 changed files with 2 additions and 2 deletions

View File

@ -492,7 +492,7 @@ var wpNavMenu;
title = menus.subMenuFocus.replace( '%1$s', itemName ).replace( '%2$d', itemPosition ).replace( '%3$s', parentItemName );
}
$this.prop('title', title).html( title );
$this.prop('title', title).text( title );
// Mark this item's accessibility as refreshed
$this.data( 'needs_accessibility_refresh', false );

File diff suppressed because one or more lines are too long