mirror of
https://git.rape.pet/ulith/amputoma-fe.git
synced 2025-02-09 06:42:39 +01:00
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…
Add table
Reference in a new issue