diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-20 13:36:29 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2009-01-20 13:36:29 +0000 |
commit | b08c9587f1f22e7321c92a0b7df72f7ff3046939 (patch) | |
tree | 5153fccf08f19ee805f012f8bae626efc7463d7d | |
parent | 55f3ffb7b9bdbb566406ec3a1bc068e90b6e2bd7 (diff) | |
download | jquery-ui-b08c9587f1f22e7321c92a0b7df72f7ff3046939.tar.gz jquery-ui-b08c9587f1f22e7321c92a0b7df72f7ff3046939.zip |
demos: fixed propagation demo callback
-rw-r--r-- | demos/droppable/propagation.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/droppable/propagation.html b/demos/droppable/propagation.html index 5911d2f1a..0bcab928d 100644 --- a/demos/droppable/propagation.html +++ b/demos/droppable/propagation.html @@ -22,7 +22,8 @@ activeClass: 'ui-state-hover', hoverClass: 'ui-state-active', drop: function(event, ui) { - $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); + $(this).addClass('ui-state-highlight').find('> p').html('Dropped!'); + return false; } }); @@ -31,7 +32,7 @@ activeClass: 'ui-state-hover', hoverClass: 'ui-state-active', drop: function(event, ui) { - $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); + $(this).addClass('ui-state-highlight').find('> p').html('Dropped!'); } }); |