PressThis: fix toggling of aria-expanded attribute.

Props afercia, see #31373.
Built from https://develop.svn.wordpress.org/trunk@31636


git-svn-id: http://core.svn.wordpress.org/trunk@31617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-06 01:51:25 +00:00
parent bcad925af4
commit 0ba8fe0132
3 changed files with 3 additions and 3 deletions

View File

@ -814,7 +814,7 @@
var $this = $( this );
$this.toggleClass( 'is-toggled' );
$this.attr( 'aria-expanded', ! $this.attr( 'aria-expanded' ) );
$this.attr( 'aria-expanded', 'false' === $this.attr( 'aria-expanded' ) ? 'true' : 'false' );
$( '.setting-modal .add-category, .categories-search-wrapper' ).toggleClass( 'is-hidden' );
} );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31635';
$wp_version = '4.2-alpha-31636';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.