Skip to content

Commit 8fc8322

Browse files
committed
Merge pull request #24 from jmm/jmm/empty
Linked .detach() mention.
2 parents dbb24f5 + 6587d08 commit 8fc8322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/empty.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
&lt;/div&gt;</pre>
1818
<p>If we had any number of nested elements inside <code>&lt;div class="hello"&gt;</code>, they would be removed, too. </p>
1919
<p>To avoid memory leaks, jQuery removes other constructs such as data and event handlers from the child elements before removing the elements themselves.</p>
20-
<p>If you want to remove elements without destroying their data or event handlers (so they can be re-added later), use .detach() instead.</p>
20+
<p>If you want to remove elements without destroying their data or event handlers (so they can be re-added later), use <a href="/detach/">.detach()</a> instead.</p>
2121
</longdesc>
2222
<example>
2323
<desc>Removes all child nodes (including text nodes) from all paragraphs</desc>

0 commit comments

Comments
 (0)