detect hashtag using rel instead of class
This commit is contained in:
parent
58b9b6c0a2
commit
5e99bad417
|
@ -335,7 +335,7 @@ const Status = {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (target.className.match(/hashtag/)) {
|
if (target.rel === 'tag') {
|
||||||
// Extract tag name from link url
|
// Extract tag name from link url
|
||||||
const tag = extractTagFromUrl(target.href)
|
const tag = extractTagFromUrl(target.href)
|
||||||
if (tag) {
|
if (tag) {
|
||||||
|
|
Loading…
Reference in New Issue