one small fix for hiding 'share map' on map info box viewing a private map
This commit is contained in:
parent
d9c01db056
commit
e43b7fca87
1 changed files with 1 additions and 1 deletions
|
@ -3680,7 +3680,7 @@ Metamaps.Map.InfoBox = {
|
||||||
var classes = isCreator ? "yourMap" : "";
|
var classes = isCreator ? "yourMap" : "";
|
||||||
classes += canEdit ? " canEdit" : "";
|
classes += canEdit ? " canEdit" : "";
|
||||||
classes += shareable ? " shareable" : "";
|
classes += shareable ? " shareable" : "";
|
||||||
$(".mapInfoBox").removeClass("yourMap canEdit")
|
$(".mapInfoBox").removeClass("shareable yourMap canEdit")
|
||||||
.addClass(classes)
|
.addClass(classes)
|
||||||
.html(self.generateBoxHTML.render(obj));
|
.html(self.generateBoxHTML.render(obj));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue