Skip to content

Commit 369474f

Browse files
committed
Button performance test: Don't use alert().
1 parent f448c79 commit 369474f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/visual/button/button_performance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
var start = +new Date();
2020
$("button").button();
2121
var end = +new Date();
22-
alert( "Time to initialize: " + (end - start) + "ms" );
22+
$("<p></p>").text( "Time to initialize: " + (end - start) + "ms" ).prependTo("body");
2323
});
2424
</script>
2525
</head>

0 commit comments

Comments
 (0)