diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 7f7c8f1e..3c172e5b 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -322,8 +322,7 @@ const Status = { this.error = undefined }, linkClicked (event) { - let { target } = event - target = target.tagName === 'A' ? target : target.closest('.status-content a') + const target = event.target.closest('.status-content a') if (target) { if (target.className.match(/mention/)) { const href = target.href |
