event listener was getting lost cuz react

This commit is contained in:
Connor Turland 2017-10-26 19:09:28 -04:00
parent d9c53514fe
commit ca2684fcf3

View file

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