diff --git a/speed/basic-page.html b/speed/basic-page.html index 94646a29..ab06efe1 100644 --- a/speed/basic-page.html +++ b/speed/basic-page.html @@ -16,6 +16,13 @@ }) .taphold(function() { $( this ).css( "color", "#0f0" ); + }) + .click(function() { + var elem = this; + $( elem ).css( "background-color", "#00f" ); + setTimeout(function() { + $( elem ).css( "background-color", "transparent" ); + }, 500 ); }); });