forked from AkkomaGang/akkoma-fe
find inside status-content div only
This commit is contained in:
parent
09efcb48a4
commit
17ad5bbdf9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue