Skip to content

Commit c4fed4c

Browse files
committed
Give up on showing a meaningful context menu in FF Mac
Just show the default menu
1 parent 6f3293e commit c4fed4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ var CodeMirror = (function() {
221221
var start = posFromMouse(e);
222222
switch (e.button()) {
223223
case 3:
224-
if (gecko) onContextMenu(e);
224+
if (gecko && !mac) onContextMenu(e);
225225
return;
226226
case 2:
227227
if (start) setCursor(start.line, start.ch, true);

0 commit comments

Comments
 (0)