From a7062daf85d543793e5762ca684eb82d0fee4d5a Mon Sep 17 00:00:00 2001 From: Kenji Yamamoto Date: Tue, 16 Oct 2012 14:43:54 -0300 Subject: [PATCH] resizable: fixed #5651 - destroy method bug on some bordered elements --- ui/jquery.ui.resizable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 59a977b74d1..03c5cc959eb 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -208,8 +208,8 @@ $.widget("ui.resizable", $.ui.mouse, { wrapper.after( this.originalElement.css({ position: wrapper.css('position'), - width: wrapper.outerWidth(), - height: wrapper.outerHeight(), + width: this.originalElement.width(), + height: this.originalElement.height(), top: wrapper.css('top'), left: wrapper.css('left') })