diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-08 14:31:32 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-12 14:48:11 -0400 |
| commit | 5e99bad4177bc60c1f07bdbe019231706a9f0879 (patch) | |
| tree | 3ee37cc4c976e0e90212e31a20a47acd62724fb8 /src | |
| parent | 58b9b6c0a2005a7f3ad2d3b8791635fd10d0ea36 (diff) | |
detect hashtag using rel instead of class
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 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) { |
