diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/js/jquery/ui/effect-size.js --- a/wp/wp-includes/js/jquery/ui/effect-size.js Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/js/jquery/ui/effect-size.js Tue Sep 27 16:37:53 2022 +0200 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Size 1.12.1 + * jQuery UI Effects Size 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -26,7 +28,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "size", function( options, done ) { @@ -104,6 +107,8 @@ to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top; to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left; } + delete from.outerHeight; + delete from.outerWidth; element.css( from ); // Animate the children if desired @@ -187,4 +192,4 @@ } ); -} ) ); +} );