Fixed documentation for bind(String, Function) - added a small fix for the first example

This commit is contained in:
Jörn Zaefferer 2006-09-09 08:36:47 +00:00
parent 998d1d8839
commit 38fa3cfc34

View file

@ -3167,7 +3167,7 @@ jQuery.macros = {
* alert( $(this).text() );
* } )
* @before <p>Hello</p>
* @result Hello
* @result alert("Hello")
*
* @example $("form").bind( "submit", function() { return false; } )
* @desc Cancel a default action and prevent it from bubbling by returning false