Should be .u-url, not .mention

This commit is contained in:
Lim Chee Aun 2022-12-10 19:16:57 +08:00
parent ac87f557d6
commit 2fa86980c0

View file

@ -585,7 +585,7 @@ function Status({ statusID, status, withinContext, size = 'm', skeleton }) {
console.log('click', target, e);
if (
target.tagName.toLowerCase() === 'a' &&
target.classList.contains('mention')
target.classList.contains('u-url')
) {
e.preventDefault();
e.stopPropagation();