mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
|
* Adds the specified class if it is not present, removes it if it is
|
||||||
* not present.
|
* present.
|
||||||
*
|
*
|
||||||
* @example $("p").toggleClass("selected")
|
* @example $("p").toggleClass("selected")
|
||||||
* @before <p>Hello</p><p class="selected">Hello Again</p>
|
* @before <p>Hello</p><p class="selected">Hello Again</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user