Make WordPress Core

Ticket #53562: 53562.diff

File 53562.diff, 545 bytes (added by kirasong, 3 years ago)
  • src/js/_enqueues/wp/customize/controls.js

    diff --git src/js/_enqueues/wp/customize/controls.js src/js/_enqueues/wp/customize/controls.js
    index c8ee3de8dfd..e5d079293bb 100644
     
    906906                        'WebkitTransition': 'webkitTransitionEnd'
    907907                };
    908908                prop = _.find( _.keys( transitions ), function( prop ) {
    909                         return ! _.isUndefined( el.style[ prop ] );
     909                        return ! _.isUndefined( el.style[ prop ] ) && ! _.isEmpty( el.style[ prop ] );
    910910                } );
    911911                if ( prop ) {
    912912                        return transitions[ prop ];