Skip to content

Commit 4505b62

Browse files
committed
Made minor wording changes.
1 parent ad18d21 commit 4505b62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

entries/click.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $( "#other" ).click(function() {
5151
$( "#target" ).click();
5252
});
5353
</code></pre>
54-
<p>After this code executes, clicks on <samp>Trigger the handler</samp> will also alert the message.</p>
54+
<p>After this code executes, clicking on <samp>Trigger the handler</samp> will also alert the message.</p>
5555
<p>The <code>click</code> event is only triggered after this exact series of events:</p>
5656
<ul>
5757
<li>The mouse button is depressed while the pointer is inside the element.</li>

entries/hide.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<p>With no parameters, the <code>.hide()</code> method is the simplest way to hide an element:</p>
3131
<pre><code>$('.target').hide();
3232
</code></pre>
33-
<p>The matched elements will be hidden immediately, with no animation. This is roughly equivalent to calling <code>.css('display', 'none')</code>, except that the value of the <code>display</code> property is saved in jQuery's data cache so that <code>display</code> can later be restored to its initial value. If an element has a <code>display</code> value of <code>inline</code>, then is hidden and shown, it will once again be displayed <code>inline</code>.</p>
33+
<p>The matched elements will be hidden immediately, with no animation. This is roughly equivalent to calling <code>.css('display', 'none')</code>, except that the value of the <code>display</code> property is saved in jQuery's data cache so that <code>display</code> can later be restored to its initial value. If an element has a <code>display</code> value of <code>inline</code> and is hidden then shown, it will once again be displayed <code>inline</code>.</p>
3434
<p>When a duration, a plain object, or a "complete" function is provided, <code>.hide()</code> becomes an animation method. The <code>.hide()</code> method animates the width, height, and opacity of the matched elements simultaneously. When these properties reach 0, the <code>display</code> style property is set to <code>none</code> to ensure that the element no longer affects the layout of the page.</p>
3535
<p>Durations are given in milliseconds; higher values indicate slower animations, not faster ones. The strings <code>'fast'</code> and <code>'slow'</code> can be supplied to indicate durations of <code>200</code> and <code>600</code> milliseconds, respectively.</p>
3636
<p>Note that <code>.hide()</code> is fired immediately and will override the animation queue if no duration or a duration of 0 is specified.</p>

0 commit comments

Comments
 (0)