Commit d6ab3c71 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fix for typo in toggleClass docs

parent fcc99cd0
...@@ -3318,8 +3318,8 @@ jQuery.macros = { ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment