Update index.js

Prevents the default chrome context menu from appearing overtop the Metamaps context menu
This commit is contained in:
Robert Best 2016-09-28 04:35:41 -04:00 committed by GitHub
parent 8f0b350a2d
commit 40b7e95b68

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
})