@@ -645,9 +645,7 @@ $.widget("ui.resizable", $.ui.mouse, {
645
645
position : this . position ,
646
646
size : this . size ,
647
647
originalSize : this . originalSize ,
648
- originalPosition : this . originalPosition ,
649
- prevSize : this . prevSize ,
650
- prevPosition : this . prevPosition
648
+ originalPosition : this . originalPosition
651
649
} ;
652
650
}
653
651
@@ -761,7 +759,7 @@ $.ui.plugin.add( "resizable", "containment", {
761
759
}
762
760
} ,
763
761
764
- resize : function ( event , ui ) {
762
+ resize : function ( event ) {
765
763
var woset , hoset , isParent , isOffsetRelative ,
766
764
that = $ ( this ) . resizable ( "instance" ) ,
767
765
o = that . options ,
@@ -827,10 +825,10 @@ $.ui.plugin.add( "resizable", "containment", {
827
825
}
828
826
829
827
if ( ! continueResize ) {
830
- that . position . left = ui . prevPosition . left ;
831
- that . position . top = ui . prevPosition . top ;
832
- that . size . width = ui . prevSize . width ;
833
- that . size . height = ui . prevSize . height ;
828
+ that . position . left = that . prevPosition . left ;
829
+ that . position . top = that . prevPosition . top ;
830
+ that . size . width = that . prevSize . width ;
831
+ that . size . height = that . prevSize . height ;
834
832
}
835
833
} ,
836
834
0 commit comments