mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
bcad925af4
commit
0ba8fe0132
@ -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' );
|
||||
} );
|
||||
|
||||
|
2
wp-admin/js/press-this.min.js
vendored
2
wp-admin/js/press-this.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user