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:
commit
ac60370d6f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue