aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-30 05:17:48 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-30 05:17:48 +0000
commitc36da07ca624bfad5b77ac0da90d5870507afca8 (patch)
tree7509b19f25ea30de5976621024d663b345116579 /ui/ui.draggable.js
parentd1a19a1c91caceb27b486fe895504301659bdbdc (diff)
downloadjquery-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.js1
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);
}
});