mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
PressThis: fix toggling of aria-expanded
attribute.
Props afercia, see #31373. git-svn-id: https://develop.svn.wordpress.org/trunk@31636 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
24461024ca
commit
e6fcf316b3
@ -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' );
|
||||
} );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user