From 5e99bad4177bc60c1f07bdbe019231706a9f0879 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Thu, 8 Aug 2019 14:31:32 -0400
Subject: [PATCH] detect hashtag using rel instead of class
---
src/components/status/status.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 3c172e5b..88ef9e40 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -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) {