Fix for typo in toggleClass docs
This commit is contained in:
parent
fcc99cd0f5
commit
d6ab3c71ac
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -3318,8 +3318,8 @@ jQuery.macros = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Adds the specified class if it is present, removes it if it is
|
||||
* not present.
|
||||
* Adds the specified class if it is not present, removes it if it is
|
||||
* present.
|
||||
*
|
||||
* @example $("p").toggleClass("selected")
|
||||
* @before <p>Hello</p><p class="selected">Hello Again</p>
|
||||
|
|
Loading…
Reference in a new issue