diff --git a/demos/droppable/visual-feedback.html b/demos/droppable/visual-feedback.html index 1e3f233eb..ae3f7d0fc 100644 --- a/demos/droppable/visual-feedback.html +++ b/demos/droppable/visual-feedback.html @@ -24,8 +24,8 @@ $("#draggable2").draggable(); $("#droppable2").droppable({ + accept: "#draggable2", activeClass: 'ui-state-hover', - hoverClass: 'ui-state-active', drop: function(event, ui) { $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); } @@ -37,7 +37,7 @@
-

Feedback on hover only:

+

Feedback on hover:

Drag me to my target

@@ -47,7 +47,7 @@

Drop here

-

Feedback on hover and when dropped:

+

Feedback on activating draggable:

Drag me to my target