Browse Source

Merge pull request #962 from haeguri/fix-sample-option

Fix playground sample option
Alexandru Dima 7 years ago
parent
commit
c4f9d704e5

+ 1 - 1
test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html

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

+ 1 - 1
website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js

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