FIX: Should be href for the link

This commit is contained in:
Robin Ward 2014-03-20 15:37:00 -04:00
parent fa3e9144e2
commit ebb0661029

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] || byUrl[link.replace(/\/#/, '#')];
linkCount = byUrl[link.href] || byUrl[link.href.replace(/\/#/, '#')];
if (linkCount) {
var t = document.createTextNode(" (" + linkCount + ")");