don't prevent all right clicking
This commit is contained in:
parent
c256d0891b
commit
0cfbe41d95
1 changed files with 0 additions and 5 deletions
|
@ -40,11 +40,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
|
|
||||||
})
|
|
||||||
|
|
||||||
$('.starMap').click(function () {
|
$('.starMap').click(function () {
|
||||||
if ($(this).is('.starred')) self.unstar()
|
if ($(this).is('.starred')) self.unstar()
|
||||||
else self.star()
|
else self.star()
|
||||||
|
|
Loading…
Reference in a new issue