Merge pull request #1160 from metamaps/bug/map.info.box.closing

event listener was getting lost cuz react
This commit is contained in:
Connor Turland 2017-10-26 19:17:42 -04:00 committed by GitHub
commit f1ecc9eb0b

View file

@ -116,7 +116,9 @@ const InfoBox = {
},
attachEventListeners: function() {
var self = InfoBox
$('.mapInfoBox').click(function(event) {
event.stopPropagation()
})
$('.mapInfoBox.canEdit .best_in_place').best_in_place()
// because anyone who can edit the map can change the map title