mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Avoid reattach events
This commit is contained in:
parent
4545852eb1
commit
55176967d0
@ -42,7 +42,7 @@
|
||||
.animate({ width: 80, height: 80, left: co.x-40, top: co.y-40, opacity: 'hide' }, 1000, function() { $(this).remove(); });
|
||||
};
|
||||
|
||||
$('#btn').click(function() {
|
||||
$(function() {
|
||||
|
||||
/*$('#resizable1').mouseover(function() {
|
||||
$(this).css('background', 'red');
|
||||
@ -57,6 +57,10 @@
|
||||
//console.log('keydown')
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$('#btn').click(function() {
|
||||
|
||||
|
||||
// TODO - works in all browsers, but have to fix a bug on opera
|
||||
$('#key').userAction("keydown", {
|
||||
|
Loading…
Reference in New Issue
Block a user