aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/photo-manager.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/droppable/photo-manager.html')
-rw-r--r--demos/droppable/photo-manager.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/demos/droppable/photo-manager.html b/demos/droppable/photo-manager.html
index 6323e5d7b..6a8cf33d1 100644
--- a/demos/droppable/photo-manager.html
+++ b/demos/droppable/photo-manager.html
@@ -47,7 +47,9 @@
// let the trash be droppable, accepting the gallery items
$trash.droppable({
accept: "#gallery > li",
- activeClass: "ui-state-highlight",
+ classes: {
+ "ui-droppable-active": "ui-state-highlight"
+ },
drop: function( event, ui ) {
deleteImage( ui.draggable );
}
@@ -56,7 +58,9 @@
// let the gallery be droppable as well, accepting items from the trash
$gallery.droppable({
accept: "#trash li",
- activeClass: "custom-state-active",
+ classes: {
+ "ui-droppable-active": "custom-state-active"
+ },
drop: function( event, ui ) {
recycleImage( ui.draggable );
}