Update index.js

This commit is contained in:
Robert Best 2016-09-28 13:00:32 -04:00 committed by GitHub
parent d6a239d6b4
commit 2c3b387e42

View file

@ -38,11 +38,6 @@ const Map = {
init: function () {
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 () {
if ($(this).is('.starred')) self.unstar()
else self.star()