Customizer: Don’t always set normalizedTransitionendEventName to null.

Reverts [51389].

Unprops mikeschroder.
See #53562.



git-svn-id: https://develop.svn.wordpress.org/trunk@51417 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Schroder
2021-07-13 14:03:19 +00:00
parent b396844d38
commit 84a22c3f98

View File

@@ -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 ];