diff options
Diffstat (limited to 'ui/source/ui.resizable.js')
-rw-r--r-- | ui/source/ui.resizable.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/source/ui.resizable.js b/ui/source/ui.resizable.js index 890c5ad42..6e8907ec1 100644 --- a/ui/source/ui.resizable.js +++ b/ui/source/ui.resizable.js @@ -251,14 +251,14 @@ },
enable: function() {
this.element.removeClass("ui-resizable-disabled");
- this.disabled = false;
+ this.options.disabled = false;
},
disable: function() {
this.element.addClass("ui-resizable-disabled");
- this.disabled = true;
+ this.options.disabled = true;
},
mouseStart: function(e) {
- if(this.disabled) return false;
+ if(this.options.disabled) return false;
var handle = false;
for(var i in this.options.handles) {
|