aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-16 10:45:26 -0700
committerScott González <scott.gonzalez@gmail.com>2010-07-16 10:45:26 -0700
commit369474f3151f694a6523732b17887c67ef654550 (patch)
treec78bb5daa63d7e8275c4efc188a4476d21e61041 /tests/visual
parentf448c79c01ef192fd71dce6ac5279e7795a8e417 (diff)
downloadjquery-ui-369474f3151f694a6523732b17887c67ef654550.tar.gz
jquery-ui-369474f3151f694a6523732b17887c67ef654550.zip
Button performance test: Don't use alert().
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/button/button_performance.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/button/button_performance.html b/tests/visual/button/button_performance.html
index 8b8ca2730..2785580a9 100644
--- a/tests/visual/button/button_performance.html
+++ b/tests/visual/button/button_performance.html
@@ -19,7 +19,7 @@
var start = +new Date();
$("button").button();
var end = +new Date();
- alert( "Time to initialize: " + (end - start) + "ms" );
+ $("<p></p>").text( "Time to initialize: " + (end - start) + "ms" ).prependTo("body");
});
</script>
</head>