//TODO: make renderAxis a prototype function
this._renderAxis(this.element);
- this._handles = $('.ui-resizable-handle', this.element);
-
- if (o.disableSelection)
- this._handles.disableSelection();
+ this._handles = $('.ui-resizable-handle', this.element)
+ .disableSelection();
//Matching axis name
this._handles.mouseover(function() {
zIndex: ++o.zIndex //TODO: Don't modify option
});
- this.helper.appendTo("body");
-
- if (o.disableSelection)
- this.helper.disableSelection();
+ this.helper
+ .appendTo("body")
+ .disableSelection();
} else {
this.helper = this.element;
cancel: ":input,option",
containment: false,
delay: 0,
- disableSelection: true,
distance: 1,
ghost: false,
grid: false,