this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Handle modifiers when clicking on account links

+6
+6
src/components/name-text.jsx
··· 57 57 } 58 58 onClick={(e) => { 59 59 if (external) return; 60 + if (e.shiftKey) return; // Save link? 🤷‍♂️ 60 61 e.preventDefault(); 61 62 e.stopPropagation(); 62 63 if (onClick) return onClick(e); 64 + if (e.metaKey || e.ctrlKey || e.shiftKey || e.which === 2) { 65 + const internalURL = `#/${instance}/a/${id}`; 66 + window.open(internalURL, '_blank'); 67 + return; 68 + } 63 69 states.showAccount = { 64 70 account, 65 71 instance,