FIX: Update links regardless of trailing slashes

This commit is contained in:
Robin Ward 2014-03-20 15:33:56 -04:00
parent a4daafa026
commit fa3e9144e2

View File

@ -28,7 +28,7 @@
var byUrl = result.counts;
for (var i=0; i<links.length; i++) {
var link = links[i],
linkCount = byUrl[link];
linkCount = byUrl[link] || byUrl[link.replace(/\/#/, '#')];
if (linkCount) {
var t = document.createTextNode(" (" + linkCount + ")");