Should be .u-url, not .mention
This commit is contained in:
parent
ac87f557d6
commit
2fa86980c0
|
@ -585,7 +585,7 @@ function Status({ statusID, status, withinContext, size = 'm', skeleton }) {
|
||||||
console.log('click', target, e);
|
console.log('click', target, e);
|
||||||
if (
|
if (
|
||||||
target.tagName.toLowerCase() === 'a' &&
|
target.tagName.toLowerCase() === 'a' &&
|
||||||
target.classList.contains('mention')
|
target.classList.contains('u-url')
|
||||||
) {
|
) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
Loading…
Reference in a new issue