demos: fixed propagation demo callback

This commit is contained in:
Paul Bakaus 2009-01-20 13:36:29 +00:00
parent 55f3ffb7b9
commit b08c9587f1

View File

@ -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!');
}
});