mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
draggable: fixed 'o is not defined' exception
This commit is contained in:
parent
d1a19a1c91
commit
c36da07ca6
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user