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. Built from https://develop.svn.wordpress.org/trunk@53267 git-svn-id: http://core.svn.wordpress.org/trunk@52856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
813c4d604c
commit
22de3f7711
|
@ -1457,7 +1457,7 @@
|
||||||
self.container.addClass( 'expanding' );
|
self.container.addClass( 'expanding' );
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( expanded ) {
|
if ( $toggleBtn.attr( 'aria-expanded' ) === 'false' ) {
|
||||||
if ( api.section.has( self.section() ) ) {
|
if ( api.section.has( self.section() ) ) {
|
||||||
api.section( self.section() ).expand( {
|
api.section( self.section() ).expand( {
|
||||||
completeCallback: expandControl
|
completeCallback: expandControl
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.0-beta2-53266';
|
$wp_version = '6.0-beta2-53267';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue