aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.resizable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-10-10 11:45:48 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-10 11:45:48 -0400
commita3f1a34d3b997550a5a8cf4c630e6580cd37cde5 (patch)
treecd8ff7023ca59a52fa65d3b50e67da76147ee105 /ui/jquery.ui.resizable.js
parentfa62f21e5ad09e5368efc3079859730e23a7123b (diff)
downloadjquery-ui-a3f1a34d3b997550a5a8cf4c630e6580cd37cde5.tar.gz
jquery-ui-a3f1a34d3b997550a5a8cf4c630e6580cd37cde5.zip
Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily.
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r--ui/jquery.ui.resizable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js
index 724ae9ddf..cc82b8b92 100644
--- a/ui/jquery.ui.resizable.js
+++ b/ui/jquery.ui.resizable.js
@@ -466,8 +466,8 @@ $.widget("ui.resizable", $.ui.mouse, {
this.helper = this.helper || $('<div style="overflow:hidden;"></div>');
// fix ie6 offset TODO: This seems broken
- var ie6 = $.browser.msie && $.browser.version < 7, ie6offset = (ie6 ? 1 : 0),
- pxyoffset = ( ie6 ? 2 : -1 );
+ var ie6offset = ($.ui.ie6 ? 1 : 0),
+ pxyoffset = ( $.ui.ie6 ? 2 : -1 );
this.helper.addClass(this._helper).css({
width: this.element.outerWidth() + pxyoffset,