event listener was getting lost cuz react
This commit is contained in:
parent
d9c53514fe
commit
ca2684fcf3
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