diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-01-15 05:03:53 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-01-15 05:03:53 -0500 |
commit | 8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1 (patch) | |
tree | a5d7773d2e2511c32acd5b3094754326768cb3b3 /demos/droppable | |
parent | 20c1648f68660b267eec302d43a7b1014cda6e1a (diff) | |
download | jquery-ui-8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1.tar.gz jquery-ui-8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1.zip |
Droppable demos: Use ui-state-default for activation
Closes gh-1085
Diffstat (limited to 'demos/droppable')
-rw-r--r-- | demos/droppable/revert.html | 4 | ||||
-rw-r--r-- | demos/droppable/visual-feedback.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/droppable/revert.html b/demos/droppable/revert.html index 71caab635..5b5410193 100644 --- a/demos/droppable/revert.html +++ b/demos/droppable/revert.html @@ -21,8 +21,8 @@ $( "#draggable2" ).draggable({ revert: "invalid" }); $( "#droppable" ).droppable({ - activeClass: "ui-state-hover", - hoverClass: "ui-state-active", + activeClass: "ui-state-default", + hoverClass: "ui-state-hover", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) diff --git a/demos/droppable/visual-feedback.html b/demos/droppable/visual-feedback.html index 5d7f79017..f105373d9 100644 --- a/demos/droppable/visual-feedback.html +++ b/demos/droppable/visual-feedback.html @@ -20,7 +20,7 @@ $(function() { $( "#draggable" ).draggable(); $( "#droppable" ).droppable({ - hoverClass: "ui-state-active", + hoverClass: "ui-state-hover", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) @@ -32,7 +32,7 @@ $( "#draggable2" ).draggable(); $( "#droppable2" ).droppable({ accept: "#draggable2", - activeClass: "ui-state-hover", + activeClass: "ui-state-default", drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) |