Skip to content
Browse files

Droppable demos: Use ui-state-default for activation

Closes gh-1085
  • Loading branch information...
1 parent 20c1648 commit 8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1 @scottgonzalez scottgonzalez committed
Showing with 4 additions and 4 deletions.
  1. +2 −2 demos/droppable/revert.html
  2. +2 −2 demos/droppable/visual-feedback.html
View
4 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" )
View
4 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" )

0 comments on commit 8f267ee

Please sign in to comment.
Something went wrong with that request. Please try again.