diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-05-27 02:20:19 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-05-27 02:20:19 +0000 |
commit | 55176967d0e9be49c88f3c30c259e440c6104621 (patch) | |
tree | 90024528b7656946d63f5e4fa6bba8f8bf4866c4 /ui/tests | |
parent | 4545852eb1eed1e376528afc28e39e13f1f920b4 (diff) | |
download | jquery-ui-55176967d0e9be49c88f3c30c259e440c6104621.tar.gz jquery-ui-55176967d0e9be49c88f3c30c259e440c6104621.zip |
Avoid reattach events
Diffstat (limited to 'ui/tests')
-rw-r--r-- | ui/tests/resizable.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/tests/resizable.html b/ui/tests/resizable.html index d89b9e7ad..b911a0767 100644 --- a/ui/tests/resizable.html +++ b/ui/tests/resizable.html @@ -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", { |