Skip to content

Commit e742ede

Browse files
committed
Add warning to animated-selector entry about error when effects module not included
1 parent 0e7014d commit e742ede

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

entries/animated-selector.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<added>1.2</added>
77
</signature>
88
<desc>Select all elements that are in the progress of an animation at the time the selector is run.</desc>
9-
<longdesc/>
9+
<longdesc>
10+
<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>
11+
</longdesc>
1012
<note id="jquery-selector-extension" type="additional" data-selector=":animated"/>
1113
<example>
1214
<desc>Change the color of any div that is animated.</desc>
@@ -33,4 +35,4 @@
3335
<category slug="selectors/basic-filter-selectors"/>
3436
<category slug="selectors/jquery-selector-extensions"/>
3537
<category slug="version/1.2"/>
36-
</entry>
38+
</entry>

0 commit comments

Comments
 (0)