mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Should be href
for the link
This commit is contained in:
parent
fa3e9144e2
commit
ebb0661029
1 changed files with 1 additions and 1 deletions
|
@ -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 + ")");
|
||||
|
|
Loading…
Reference in a new issue