Fixed documentation for bind(String, Function) - added a small fix for the first example
This commit is contained in:
parent
998d1d8839
commit
38fa3cfc34
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue