don't block all right clicks
This commit is contained in:
parent
a63cd02bc6
commit
4f9b9460ad
1 changed files with 0 additions and 5 deletions
|
@ -39,11 +39,6 @@ const Map = {
|
||||||
},
|
},
|
||||||
init: function () {
|
init: function () {
|
||||||
var self = Map
|
var self = Map
|
||||||
|
|
||||||
// prevent right clicks on the main canvas, so as to not get in the way of our right clicks
|
|
||||||
$('#wrapper').on('contextmenu', function (e) {
|
|
||||||
return false
|
|
||||||
})
|
|
||||||
|
|
||||||
$('#wrapper').mousedown(function (e){
|
$('#wrapper').mousedown(function (e){
|
||||||
if(e.button === 1)return false;
|
if(e.button === 1)return false;
|
||||||
|
|
Loading…
Reference in a new issue