fixes bug where popups are happening
This commit is contained in:
parent
ce51eeca8c
commit
8998e3858c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const ImportDialog = {
|
|||
onFileAdded: PasteInput.handleFile,
|
||||
exampleImageUrl: serverData['import-example.png'],
|
||||
downloadScreenshot: ImportDialog.downloadScreenshot,
|
||||
onExport: format => {
|
||||
onExport: format => () => {
|
||||
window.open(`${window.location.pathname}/export.${format}`, '_blank')
|
||||
}
|
||||
}), $('.importDialogWrapper').get(0))
|
||||
|
|
Loading…
Reference in a new issue