FIX: Update links regardless of trailing slashes
This commit is contained in:
parent
a4daafa026
commit
fa3e9144e2
|
@ -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 + ")");
|
||||
|
|
Loading…
Reference in New Issue