fix: add noopener to window.open fallback in saveImage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user