WordPress.org

Make WordPress Core

Ticket #37666: 37666-masonry-shim.diff

File 37666-masonry-shim.diff, 530 bytes (added by stephenharris, 3 years ago)
  • src/wp-includes/js/jquery/jquery.masonry.js

    diff --git src/wp-includes/js/jquery/jquery.masonry.js src/wp-includes/js/jquery/jquery.masonry.js
    index aceb766..f01d54a 100644
     
    2626    var isAniOption = this.options.isAnimated;
    2727    if ( isAniOption !== undefined ) {
    2828      this.options.transitionDuration = isAniOption ?
    29         Masonry.prototype.options.transitionDuration : 0;
     29        '0.4s' : 0;
    3030    }
    3131
    3232    if ( isAniOption === undefined || isAniOption ) {