aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/revert.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-01-01 12:11:06 -0500
committerAlexander Schmitz <arschmitz@gmail.com>2015-03-11 16:04:34 -0400
commitf58277a521ae41b1d3e054a419ef5fda85e7db21 (patch)
tree838593ff770211c94c8fe24cf3a3baa019426a65 /demos/droppable/revert.html
parente9bb449b5dde255e4a79ea6768864ba26529ed6c (diff)
downloadjquery-ui-f58277a521ae41b1d3e054a419ef5fda85e7db21.tar.gz
jquery-ui-f58277a521ae41b1d3e054a419ef5fda85e7db21.zip
Droppable: Add classes option
Ref #7053 Ref gh-1411
Diffstat (limited to 'demos/droppable/revert.html')
-rw-r--r--demos/droppable/revert.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/droppable/revert.html b/demos/droppable/revert.html
index 74ccb6fc5..f34801e90 100644
--- a/demos/droppable/revert.html
+++ b/demos/droppable/revert.html
@@ -21,8 +21,10 @@
$( "#draggable2" ).draggable({ revert: "invalid" });
$( "#droppable" ).droppable({
- activeClass: "ui-state-default",
- hoverClass: "ui-state-hover",
+ classes: {
+ "ui-droppable-active": "ui-state-active",
+ "ui-droppable-hover": "ui-state-hover"
+ },
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )