find inside status-content div only

This commit is contained in:
taehoon 2019-07-23 15:44:41 -04:00
parent 09efcb48a4
commit 17ad5bbdf9

View file

@ -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