From 10a2782f8553e1fad14f9686b1e7e0d3e3b5bba7 Mon Sep 17 00:00:00 2001 From: Robert Best Date: Wed, 28 Sep 2016 13:03:44 -0400 Subject: [PATCH] Update JIT.js --- frontend/src/Metamaps/JIT.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/Metamaps/JIT.js b/frontend/src/Metamaps/JIT.js index 4a665bdc..54ec74b1 100644 --- a/frontend/src/Metamaps/JIT.js +++ b/frontend/src/Metamaps/JIT.js @@ -1305,6 +1305,9 @@ const JIT = { // create new menu for clicked on node var rightclickmenu = document.createElement('div') rightclickmenu.className = 'rightclickmenu' + //prevent the custom context menu from immediately opening the default context menu as well + rightclickmenu.setAttribute('oncontextmenu','return false') + // add the proper options to the menu var menustring = '