diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-12 15:22:39 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-12 15:22:39 -0400 |
| commit | 5aa2c44487606f137a9bc524b6bf9b1349d058b9 (patch) | |
| tree | d7314644f9657da26190a2c1ae1872a1063e0b0f /src | |
| parent | 5e99bad4177bc60c1f07bdbe019231706a9f0879 (diff) | |
use hashtag class detection as fallback
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 88ef9e40..5204fa73 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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) { |
