aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/accepted-elements.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/droppable/accepted-elements.html')
-rw-r--r--demos/droppable/accepted-elements.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/droppable/accepted-elements.html b/demos/droppable/accepted-elements.html
index 19db54650..2a5029526 100644
--- a/demos/droppable/accepted-elements.html
+++ b/demos/droppable/accepted-elements.html
@@ -20,8 +20,10 @@
$( "#draggable, #draggable-nonvalid" ).draggable();
$( "#droppable" ).droppable({
accept: "#draggable",
- activeClass: "ui-state-hover",
- hoverClass: "ui-state-active",
+ classes: {
+ "ui-droppable-active": "ui-state-active",
+ "ui-droppable-hover": "ui-state-hover"
+ },
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )