aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-23 15:44:41 -0400
committertaehoon <th.dev91@gmail.com>2019-07-23 15:44:41 -0400
commit17ad5bbdf9cfa108164a128921742828182f03b6 (patch)
treeaf07ad3bdd833ad4e3bcab4e782dce783a57068d
parent09efcb48a4c1e22c0cef467adc9cfcefe2818c0d (diff)
find inside status-content div only
-rw-r--r--src/components/status/status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index f87a2413..7f7c8f1e 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -323,7 +323,7 @@ const Status = {
},
linkClicked (event) {
let { target } = event
- target = target.tagName === 'A' ? target : target.closest('a')
+ target = target.tagName === 'A' ? target : target.closest('.status-content a')
if (target) {
if (target.className.match(/mention/)) {
const href = target.href