aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2009-01-27 05:31:57 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2009-01-27 05:31:57 +0000
commit279f6599a4f183c871fa845489c8c6727a8f3aa2 (patch)
tree9436e97537668ae55b90ffbcd6dbde76e92f903f /ui/ui.resizable.js
parent6b37cd7bc6f0e3a10becc1bedb31d92f29e21830 (diff)
downloadjquery-ui-279f6599a4f183c871fa845489c8c6727a8f3aa2.tar.gz
jquery-ui-279f6599a4f183c871fa845489c8c6727a8f3aa2.zip
Fixed #3879
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index b1a10407b..b4d7d74d3 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -215,7 +215,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
_mouseStart: function(event) {
var o = this.options, iniPos = this.element.position(), el = this.element,
- num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7;
+ num = function(v) { return parseInt(v, 10) || 0; };
this.resizing = true;
this.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() };
@@ -245,8 +245,8 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
//Store needed variables
this.offset = this.helper.offset();
this.position = { left: curleft, top: curtop };
- this.size = this._helper || ie6 ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() };
- this.originalSize = this._helper || ie6 ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() };
+ this.size = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() };
+ this.originalSize = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() };
this.originalPosition = { left: curleft, top: curtop };
this.sizeDiff = { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() };
this.originalMousePosition = { left: event.pageX, top: event.pageY };