Skip to content

Commit 963af85

Browse files
committed
make left-click-trigger demo work on iPad - closes #83
1 parent def4bc5 commit 963af85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demo/trigger-left-click.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ <h1><a href="https://github.com/medialize/jQuery-contextMenu">jQuery contextMenu
4343
</ul>
4444

4545
<h2 id="demo">Demo: Left-Click Trigger</h2>
46+
<p><strong>Note:</strong> If you want to use this on a touch device (iOS) make sure to add a dummy <code>onclick</code> handler to the trigger element!</p>
4647
<div class="inline-spaces">
47-
<div class="context-menu-one box menu-1">
48+
<div class="context-menu-one box menu-1" onclick="void('iOS needs this');">
4849
<strong>left click me</strong>
4950
</div>
5051
</div>

0 commit comments

Comments
 (0)