Fix playground sample option

- change `nativeContextMenu` to `contextmenu`
pull/962/head
haeguri 2018-07-19 01:11:35 +09:00
parent 14f6229243
commit dc76b1fc95
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
value: jsCode, value: jsCode,
language: "javascript", language: "javascript",
glyphMargin: true, glyphMargin: true,
nativeContextMenu: false contextmenu: false
}); });
var decorations = editor.deltaDecorations([], [ var decorations = editor.deltaDecorations([], [

View File

@ -14,7 +14,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
value: jsCode, value: jsCode,
language: "javascript", language: "javascript",
glyphMargin: true, glyphMargin: true,
nativeContextMenu: false contextmenu: false
}); });
var decorations = editor.deltaDecorations([], [ var decorations = editor.deltaDecorations([], [