diff --git a/ui/tests/resizable.html b/ui/tests/resizable.html index d89b9e7ad6c..b911a07678b 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", {