title: Does not download the file when i click secondly in Opera
body: <p>I try to download the file that came from API in Opera Browser.</p>
  
  <p>The file is downloaded on the first click, it's okay but does not download after click the second time(actually more than one). No errors, just I cannot see the downloaded file. So, it does not download the file.</p>
  
  <p>Shortly, the file is downloaded only first click. Why it does not download in after subsequent clicks?</p>
  
  <p>Also, The file is downloaded on every click in Chrome and Mozilla, this works. I'm just having this error in Opera.</p>
  
  <p>My Codes;</p>
  
  <pre><code>function downloadFile(response: Response) {
    const fileName = getFileNameFromHttpResponse(response);
    const newBlob = new Blob([&lt;any&gt;response.body],{ type: (&lt;any&gt;response.body).type });
    if (window.navigator &amp;&amp; window.navigator.msSaveOrOpenBlob) {
      window.navigator.msSaveOrOpenBlob(newBlob);
      return;
    }
    const data = window.URL.createObjectURL(newBlob);
  
    const link = document.createElement('a');
    link.href = data;
    link.download = fileName;
    link.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }));
    setTimeout(() =&gt; {
      window.URL.revokeObjectURL(data);
    }, 100);
  }
  </code></pre>
  
  <p>About Opera: Version:65.0.3467.48 System:Windows 10 64-bit</p>
  
  <p>How to fix this?</p>
  
  <p>Thanks.</p>