Browse files

Add warning to animated-selector entry about error when effects modul…

…e not included
  • Loading branch information...
1 parent 0e7014d commit e742ede15596882ebad465886c78f7ee2fbd027c @kswedberg kswedberg committed Aug 10, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 entries/animated-selector.xml
View
6 entries/animated-selector.xml
@@ -6,7 +6,9 @@
<added>1.2</added>
</signature>
<desc>Select all elements that are in the progress of an animation at the time the selector is run.</desc>
- <longdesc/>
+ <longdesc>
+ <p><strong>Note:</strong> If you use a custom jQuery build <em>without the effects module</em>, the <code>:animated</code> selector will throw an error. </p>
+ </longdesc>
<note id="jquery-selector-extension" type="additional" data-selector=":animated"/>
<example>
<desc>Change the color of any div that is animated.</desc>
@@ -33,4 +35,4 @@
<category slug="selectors/basic-filter-selectors"/>
<category slug="selectors/jquery-selector-extensions"/>
<category slug="version/1.2"/>
-</entry>
+</entry>

0 comments on commit e742ede

Please sign in to comment.