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

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