Open Motard opened 7 years ago
Also having this issue as well. My app users are reporting that after viewing a few different PDF documents within the app, a download of a document will happen multiple times. In one case, 95 (!) copies of the PDF found their way into his downloads folder
This issue still seems to be prevalent in the current version.
I am having the following problem. When I open the first document in pdf.js viewer and click the download button, that document is downloaded. But when I open a second document, and click download, that document is downloaded two times. And if I open a third document, click download, the document is downloaded three times. And so on. The problem here is, I think, that the event to download is being binded to the download button multiple times. Do you have any ideia how I can resolve this issue?