From 0f5ad094c4dd3f505e0516e1927a7c1039fffb90 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 8 Feb 2013 00:54:13 +0100 Subject: [PATCH] explain what the strange link info shows --- code/portal_detail_display.js | 3 ++- style.css | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index fdcd4572..e78d662f 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -18,7 +18,8 @@ window.renderPortalDetails = function(guid) { if(d.portalV2.linkedEdges) $.each(d.portalV2.linkedEdges, function(ind, link) { links[link.isOrigin ? 'outgoing' : 'incoming']++; }); - var linksText = 'links: ↳ ' + links.incoming+'  •  '+links.outgoing+' ↴'; + function linkExpl(t) { return ''+t+''; } + var linksText = linkExpl('links')+':'+linkExpl(' ↳ ' + links.incoming+'  •  '+links.outgoing+' ↴'); var player = d.captured && d.captured.capturingPlayerId ? getPlayerName(d.captured.capturingPlayerId) diff --git a/style.css b/style.css index 35e9ee8c..461109db 100644 --- a/style.css +++ b/style.css @@ -399,6 +399,11 @@ aside:nth-child(odd) span { text-align: right; } +#randdetails tt { + font-family: inherit; + cursor: help; +} + /* resonators */ #resodetails {