@@ -215,7 +215,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
215215 _mouseStart : function ( event ) {
216216
217217 var o = this . options , iniPos = this . element . position ( ) , el = this . element ,
218- num = function ( v ) { return parseInt ( v , 10 ) || 0 ; } , ie6 = $ . browser . msie && $ . browser . version < 7 ;
218+ num = function ( v ) { return parseInt ( v , 10 ) || 0 ; } ;
219219
220220 this . resizing = true ;
221221 this . documentScroll = { top : $ ( document ) . scrollTop ( ) , left : $ ( document ) . scrollLeft ( ) } ;
@@ -245,8 +245,8 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
245245 //Store needed variables
246246 this . offset = this . helper . offset ( ) ;
247247 this . position = { left : curleft , top : curtop } ;
248- this . size = this . _helper || ie6 ? { width : el . outerWidth ( ) , height : el . outerHeight ( ) } : { width : el . width ( ) , height : el . height ( ) } ;
249- this . originalSize = this . _helper || ie6 ? { width : el . outerWidth ( ) , height : el . outerHeight ( ) } : { width : el . width ( ) , height : el . height ( ) } ;
248+ this . size = this . _helper ? { width : el . outerWidth ( ) , height : el . outerHeight ( ) } : { width : el . width ( ) , height : el . height ( ) } ;
249+ this . originalSize = this . _helper ? { width : el . outerWidth ( ) , height : el . outerHeight ( ) } : { width : el . width ( ) , height : el . height ( ) } ;
250250 this . originalPosition = { left : curleft , top : curtop } ;
251251 this . sizeDiff = { width : el . outerWidth ( ) - el . width ( ) , height : el . outerHeight ( ) - el . height ( ) } ;
252252 this . originalMousePosition = { left : event . pageX , top : event . pageY } ;
0 commit comments