Merge pull request #1160 from metamaps/bug/map.info.box.closing
event listener was getting lost cuz react
This commit is contained in:
commit
f1ecc9eb0b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue