Skip to content
Snippets Groups Projects
Commit 5aa2c444 authored by Tae Hoon's avatar Tae Hoon
Browse files

use hashtag class detection as fallback

parent 5e99bad4
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!908Detect hashtag using rel instead of class
......@@ -335,7 +335,7 @@ const Status = {
return
}
}
if (target.rel === 'tag') {
if (target.rel === 'tag' || target.className.match(/hashtag/)) {
// Extract tag name from link url
const tag = extractTagFromUrl(target.href)
if (tag) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment