mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-05 10:25:04 -05:00
demos: fixed propagation demo callback
This commit is contained in:
@@ -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!');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user