From 2fa86980c0453043fa9cae55bd75fa8bf5ea177a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 10 Dec 2022 19:16:57 +0800 Subject: [PATCH] Should be .u-url, not .mention --- src/components/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 399dd3dd..ba6c29da 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -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();