button: visual default test, log args when console is available

This commit is contained in:
Jörn Zaefferer 2010-01-22 22:52:58 +00:00
parent aa63c4b959
commit 93ed6d5a0c

View File

@ -24,6 +24,7 @@
$("<div></div>")
.text("Clicked " + (target.text() || target.val()))
.appendTo("#log");
window.console && console.log(this, arguments);
}
});