draggable: fixed 'o is not defined' exception

This commit is contained in:
Richard Worth 2009-01-30 05:17:48 +00:00
parent d1a19a1c91
commit c36da07ca6

View File

@ -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);
}
});