aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-05-16 08:36:55 +0200
committerGitHub <noreply@github.com>2020-05-16 08:36:55 +0200
commitf4ef03e57edd7e51cb134e902679c7bddc3daaee (patch)
tree9b58bc5746bb4b6e173337b71c86be2cabd31ea6 /ui/effects
parentb36d54256968b028a9c324eba6d88754561d5ec4 (diff)
downloadjquery-ui-f4ef03e57edd7e51cb134e902679c7bddc3daaee.tar.gz
jquery-ui-f4ef03e57edd7e51cb134e902679c7bddc3daaee.zip
All: Resolve most jQuery Migrate warnings
Closes gh-1919
Diffstat (limited to 'ui/effects')
-rw-r--r--ui/effects/effect-size.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/effects/effect-size.js b/ui/effects/effect-size.js
index 20af22777..95a1423e6 100644
--- a/ui/effects/effect-size.js
+++ b/ui/effects/effect-size.js
@@ -105,6 +105,8 @@ return $.effects.define( "size", function( options, done ) {
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