Fix for typo in toggleClass docs

This commit is contained in:
Jörn Zaefferer 2006-11-15 10:07:22 +00:00
parent fcc99cd0f5
commit d6ab3c71ac

View File

@ -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>