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 ? '

Maps

' : '

Maps

'; var topicheader = userid ? '

Topics

' : '

Topics

'; diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 079ad62f..e4366d0f 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1080,7 +1080,7 @@ overflow-x: hidden; } .sidebarSearch .resultText { - width: 125px; + width: 250px; display: block; float: left; } @@ -1194,7 +1194,7 @@ line-height: 20px; background: white; width: auto; bottom: 0; - left: 35px; + right: 20px; color: black; white-space: nowrap; border-radius: 4px; @@ -1205,14 +1205,14 @@ line-height: 20px; z-index:100; } .sidebarSearch .mapCount .tip,.sidebarSearch .synapseCount .tip, .sidebarSearch .topicCount .tip { - left:-3px; + right:-3px; bottom:24px; } .sidebarSearch .hoverForTip:hover .tip { display:block; } .sidebarSearch .mapContributorsIcon .mapContributors { - left:0; + right:0; bottom:21px; white-space:normal; width:200px;