Skip to content
Permalink
Browse files

demos: fixed propagation demo callback

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 20, 2009
1 parent 55f3ffb commit b08c9587f1f22e7321c92a0b7df72f7ff3046939
Showing with 3 additions and 2 deletions.
  1. +3 −2 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!');
}
});

0 comments on commit b08c958

Please sign in to comment.
You can’t perform that action at this time.