From 84a22c3f98ae180fea6e6c0e03e8ffe4c5934469 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Tue, 13 Jul 2021 14:03:19 +0000 Subject: [PATCH] =?UTF-8?q?Customizer:=20Don=E2=80=99t=20always=20set=20`n?= =?UTF-8?q?ormalizedTransitionendEventName`=20to=20`null`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reverts [51389]. Unprops mikeschroder. See #53562. git-svn-id: https://develop.svn.wordpress.org/trunk@51417 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/wp/customize/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js index e5d079293b..c8ee3de8df 100644 --- a/src/js/_enqueues/wp/customize/controls.js +++ b/src/js/_enqueues/wp/customize/controls.js @@ -906,7 +906,7 @@ 'WebkitTransition': 'webkitTransitionEnd' }; prop = _.find( _.keys( transitions ), function( prop ) { - return ! _.isUndefined( el.style[ prop ] ) && ! _.isEmpty( el.style[ prop ] ); + return ! _.isUndefined( el.style[ prop ] ); } ); if ( prop ) { return transitions[ prop ];