This commit is contained in:
Alexander Zinchuk 2021-06-11 02:31:42 +03:00
parent 8ea66f7c82
commit 03cf3e8498

View File

@ -82,7 +82,7 @@ const MenuItem: FC<OwnProps> = (props) => {
download={download}
aria-label={ariaLabel}
title={ariaLabel}
target="_blank"
target={href.startsWith(window.location.origin) ? '_self' : '_blank'}
rel="noopener noreferrer"
>
{content}