aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/propagation.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/droppable/propagation.html')
-rw-r--r--demos/droppable/propagation.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/demos/droppable/propagation.html b/demos/droppable/propagation.html
index 60cf7cb37..99fb21711 100644
--- a/demos/droppable/propagation.html
+++ b/demos/droppable/propagation.html
@@ -21,8 +21,10 @@
$( "#draggable" ).draggable();
$( "#droppable, #droppable-inner" ).droppable({
- 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" )
@@ -34,8 +36,10 @@
$( "#droppable2, #droppable2-inner" ).droppable({
greedy: true,
- 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" )