From a29be896636314837b30cf2bf5e7bd772d20d5da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 15 Jan 2014 05:03:53 -0500 Subject: [PATCH] Droppable demos: Use ui-state-default for activation Closes gh-1085 (cherry picked from commit 8f267ee3310bee8d7a2cb9e46b023a79ed84bfc1) --- demos/droppable/revert.html | 4 ++-- 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" ) -- 2.39.5