[jQuery] Draggable - change revert after start and before stop
If my draggable item does not reach a target, i want it to revert, so
I set revert by default.
When it hovers over a target, I want to set revert to false.
I can't make this work. I thought it would be as easy as putting the
following code in the onHover of the droppable:
$('#'+drag.id).Draggable({revert:false});
But it doesn't work. Can you change the value of revert in the middle
of a drag?