diff --git a/app/assets/javascripts/Jit/graphsettings-event-handlers.js b/app/assets/javascripts/Jit/graphsettings-event-handlers.js index ee49e522..1d6d940b 100644 --- a/app/assets/javascripts/Jit/graphsettings-event-handlers.js +++ b/app/assets/javascripts/Jit/graphsettings-event-handlers.js @@ -1,6 +1,7 @@ function selectEdgeOnClickHandler(adj, e) { if (Mconsole.busy) return; - + + // catch right click on mac, which is often like ctrl+click if (navigator.platform.indexOf("Mac")!=-1 && e.ctrlKey) { selectEdgeOnRightClickHandler(adj, e) @@ -204,7 +205,6 @@ function selectNodeOnClickHandler(node, e) { selectNodeOnRightClickHandler(node, e) return; } - var check = nodeWasDoubleClicked(); if (check) { nodeDoubleClickHandler(node, e); diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index eed55362..1fc5456d 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -160,7 +160,7 @@ var labelType, useGradients, nativeTextSupport, animate, json, Mconsole = null, default: break; //console.log(e.which); } }); - + // initialize the search box autocomplete results var mapheader = userid ? '