Skip to content

Commit

Permalink
Avoid reattach events
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolundgren committed May 27, 2008
1 parent 4545852 commit 5517696
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/tests/resizable.html
Expand Up @@ -42,7 +42,7 @@ <h2 id="log"></h2>
.animate({ width: 80, height: 80, left: co.x-40, top: co.y-40, opacity: 'hide' }, 1000, function() { $(this).remove(); }); .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() { /*$('#resizable1').mouseover(function() {
$(this).css('background', 'red'); $(this).css('background', 'red');
Expand All @@ -57,6 +57,10 @@ <h2 id="log"></h2>
//console.log('keydown') //console.log('keydown')
}); });


});

$('#btn').click(function() {



// TODO - works in all browsers, but have to fix a bug on opera // TODO - works in all browsers, but have to fix a bug on opera
$('#key').userAction("keydown", { $('#key').userAction("keydown", {
Expand Down

0 comments on commit 5517696

Please sign in to comment.