diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-30 05:17:48 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-30 05:17:48 +0000 |
commit | c36da07ca624bfad5b77ac0da90d5870507afca8 (patch) | |
tree | 7509b19f25ea30de5976621024d663b345116579 /ui/ui.draggable.js | |
parent | d1a19a1c91caceb27b486fe895504301659bdbdc (diff) | |
download | jquery-ui-c36da07ca624bfad5b77ac0da90d5870507afca8.tar.gz jquery-ui-c36da07ca624bfad5b77ac0da90d5870507afca8.zip |
draggable: fixed 'o is not defined' exception
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r-- | ui/ui.draggable.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index e8524679b..bfad09ae0 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -592,6 +592,7 @@ $.ui.plugin.add("draggable", "opacity", { t.css('opacity', o.opacity); }, stop: function(event, ui) { + var o = $(this).data('draggable').options; if(o._opacity) $(ui.helper).css('opacity', o._opacity); } }); |