Merge pull request #678 from metamaps/prevent-context-menu

Prevent default context menu from opening when topics/synapses are right-clicked
This commit is contained in:
Robert Best 2016-09-28 05:27:03 -04:00 committed by GitHub
commit ac60370d6f

View file

@ -39,7 +39,7 @@ const Map = {
var self = Map
// prevent right clicks on the main canvas, so as to not get in the way of our right clicks
$('#center-container').bind('contextmenu', function (e) {
$('#wrapper').on('contextmenu', function (e) {
return false
})