one small fix for hiding 'share map' on map info box viewing a private map

This commit is contained in:
Connor Turland 2014-10-14 23:58:05 -04:00
parent d9c01db056
commit e43b7fca87

View file

@ -3680,7 +3680,7 @@ Metamaps.Map.InfoBox = {
var classes = isCreator ? "yourMap" : "";
classes += canEdit ? " canEdit" : "";
classes += shareable ? " shareable" : "";
$(".mapInfoBox").removeClass("yourMap canEdit")
$(".mapInfoBox").removeClass("shareable yourMap canEdit")
.addClass(classes)
.html(self.generateBoxHTML.render(obj));