Skip to content

Commit 279f659

Browse files
Fixed #3879
1 parent 6b37cd7 commit 279f659

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ui/ui.resizable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)