detect hashtag using rel instead of class

This commit is contained in:
taehoon 2019-08-08 14:31:32 -04:00
parent 58b9b6c0a2
commit 5e99bad417
1 changed files with 1 additions and 1 deletions

View File

@ -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) {