Skip to content

Commit 22f2e65

Browse files
keypress: Fix typos: keyup -> keypress
Fixes gh-1266 Closes gh-1272
1 parent 1e095c5 commit 22f2e65

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

entries/keypress.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<desc>Bind an event handler to the "keypress" event.</desc>
88
<signature>
99
<added>1.7</added>
10-
<argument name="&quot;keyup&quot;" type="string">
11-
<desc>The string <code>"keyup"</code>.</desc>
10+
<argument name="&quot;keypress&quot;" type="string">
11+
<desc>The string <code>"keypress"</code>.</desc>
1212
</argument>
1313
<argument name="eventData" type="Anything" optional="true">
1414
<desc>An object containing data that will be passed to the event handler.</desc>
@@ -113,16 +113,16 @@ $( "#other" ).on( "click", function() {
113113
</entry>
114114

115115
<entry type="method" name="trigger" return="jQuery">
116-
<title>keyup event</title>
117-
<desc>Trigger the "keyup" event on an element.</desc>
116+
<title>keypress event</title>
117+
<desc>Trigger the "keypress" event on an element.</desc>
118118
<signature>
119119
<added>1.0</added>
120-
<argument name="&quot;keyup&quot;" type="string">
121-
<desc>The string <code>"keyup"</code>.</desc>
120+
<argument name="&quot;keypress&quot;" type="string">
121+
<desc>The string <code>"keypress"</code>.</desc>
122122
</argument>
123123
</signature>
124124
<longdesc>
125-
<p>See the description for <a href="#on1"><code>.on( "keyup", ... )</code></a>.</p>
125+
<p>See the description for <a href="#on1"><code>.on( "keypress", ... )</code></a>.</p>
126126
</longdesc>
127127
<category slug="events/keyboard-events"/>
128128
<category slug="version/1.0"/>

0 commit comments

Comments
 (0)