mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
demos: fixed propagation demo callback
This commit is contained in:
parent
55f3ffb7b9
commit
b08c9587f1
@ -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!');
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user