forked from AkkomaGang/akkoma-fe
detect hashtag using rel instead of class
This commit is contained in:
parent
58b9b6c0a2
commit
5e99bad417
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ const Status = {
|
|||
return
|
||||
}
|
||||
}
|
||||
if (target.className.match(/hashtag/)) {
|
||||
if (target.rel === 'tag') {
|
||||
// Extract tag name from link url
|
||||
const tag = extractTagFromUrl(target.href)
|
||||
if (tag) {
|
||||
|
|
Loading…
Reference in a new issue