Update index.js
Prevents the default chrome context menu from appearing overtop the Metamaps context menu
This commit is contained in:
parent
8f0b350a2d
commit
40b7e95b68
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