fix: add noopener to window.open fallback in saveImage

This commit is contained in:
Jannis Braun
2026-03-25 03:15:54 +01:00
parent 97f0ebc915
commit 91ffbb5d0a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export async function saveImage(url: string, filename?: string): Promise<void> {
a.remove();
URL.revokeObjectURL(blobUrl);
} catch {
window.open(url, '_blank');
window.open(url, '_blank', 'noopener');
useUIStore.getState().addToast('Opened in new tab', 'info', 3000);
}
}