mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Widgets: Fix Classic Widgets screen toggle response on small screens.
This changeset updates the toogle logic to fix Widget's responsive behavior on Classic Widgets screen. Props inc2734, kmix39, dlh, desrosj, costdev, Boniu91. Fixes #48896. git-svn-id: https://develop.svn.wordpress.org/trunk@53267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
325d8bab0a
commit
e53a3ea0c0
@ -1457,7 +1457,7 @@
|
||||
self.container.addClass( 'expanding' );
|
||||
};
|
||||
|
||||
if ( expanded ) {
|
||||
if ( $toggleBtn.attr( 'aria-expanded' ) === 'false' ) {
|
||||
if ( api.section.has( self.section() ) ) {
|
||||
api.section( self.section() ).expand( {
|
||||
completeCallback: expandControl
|
||||
|
||||
Loading…
Reference in New Issue
Block a user