diff --git a/app/assets/javascripts/src/Metamaps.js b/app/assets/javascripts/src/Metamaps.js
index 5bce8987..6acdb68c 100644
--- a/app/assets/javascripts/src/Metamaps.js
+++ b/app/assets/javascripts/src/Metamaps.js
@@ -4781,6 +4781,8 @@ Metamaps.Map.InfoBox = {
$('.mapContributors .tip').unbind().click(function(event){
event.stopPropagation();
});
+ $('.mapContributors .tip li a').click(Metamaps.Router.intercept);
+
$('.mapInfoBox').unbind('.hideTip').bind('click.hideTip', function(){
$('.mapContributors .tip').hide();
});
@@ -4794,15 +4796,15 @@ Metamaps.Map.InfoBox = {
var self = Metamaps.Map.InfoBox;
var string = "";
-
+ console.log("hello!!")
string += "
";
Metamaps.Mappers.each(function(m){
- string += '- ' + m.get("name") + '
';
+ string += '- ' + '' + m.get("name") + '
';
});
string += "
";
-
+ console.log(string);
return string;
},
updateNumbers: function () {
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 14904971..f3b855fa 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1708,6 +1708,9 @@ h3.realtimeBoxTitle {
color: white;
}
+.mapContributors .tip li a {
+ color: white;
+}
.mapContributors div:after {
content: '';
position: absolute;
diff --git a/app/views/maps/_mapinfobox.html.erb b/app/views/maps/_mapinfobox.html.erb
index c6b3b3c9..4305b3a7 100644
--- a/app/views/maps/_mapinfobox.html.erb
+++ b/app/views/maps/_mapinfobox.html.erb
@@ -23,8 +23,8 @@
<% end %>
<%= @map.contributors.count %>
<% @map.contributors.each_with_index do |c, index| %>
- -
- <%= c.name %>
+
-
+ <%= c.name %>
<% end %>