mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 14:42:21 +03:00
Should be .u-url, not .mention
This commit is contained in:
parent
ac87f557d6
commit
2fa86980c0
1 changed files with 1 additions and 1 deletions
|
@ -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