|
@ -100,7 +100,7 @@ export default class ProcessFile extends Vue { |
|
|
|
|
|
|
|
|
this.intervalId = setInterval(this.waitForFile, 3000); |
|
|
this.intervalId = setInterval(this.waitForFile, 3000); |
|
|
|
|
|
|
|
|
window.addEventListener('beforeunload', async (event) => { |
|
|
|
|
|
|
|
|
window.addEventListener('onbeforeunload', async (event) => { |
|
|
// Cancel the event as stated by the standard.
|
|
|
// Cancel the event as stated by the standard.
|
|
|
event.preventDefault(); |
|
|
event.preventDefault(); |
|
|
|
|
|
|
|
|