mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 16:08:06 -05:00
Fix for typo in toggleClass docs
This commit is contained in:
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>
|
||||
|
||||
Reference in New Issue
Block a user