Skip to content

Commit e71eabb

Browse files
committed
event.metaKey. Clean up longdesc:
* Put text in paragraph (all text in longdesc must be in a child node) * Remove MDN link as it didn't provide any more info * Clarified some language * Further fixes #144
1 parent 29983a8 commit e71eabb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

entries/event.metaKey.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<signature>
55
<added>1.0.4</added>
66
</signature>
7-
<desc>Indicates whether the META key was pressed when the event fired. </desc>
8-
<longdesc>Returns a boolean value that indicates whether or not the META key was pressed at the time the event fired.
9-
This value varies by system, see <a href="https://developer.mozilla.org/en-US/docs/DOM/event.metaKey">https://developer.mozilla.org/en-US/docs/DOM/event.metaKey</a> for more information.
7+
<desc>Indicates whether the META key was pressed when the event fired.</desc>
8+
<longdesc>
9+
<p>Returns a boolean value (<code>true</code> or <code>false</code>) that indicates whether or not the <kbd>META</kbd> key was pressed at the time the event fired.
10+
This key might map to an alternative key name on some platforms.</p>
1011
</longdesc>
1112
<example>
1213
<desc>Determine whether the META key was pressed when the event fired.</desc>
@@ -18,7 +19,7 @@
1819
<code><![CDATA[
1920
$('#checkMetaKey').click(function(e){
2021
$('#display').text(e.metaKey);
21-
});
22+
});
2223
]]></code>
2324
</example>
2425
<category slug="events/event-object"/>

0 commit comments

Comments
 (0)