mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-23 23:11:04 -04:00
Duplicate attachment for every comment fix
This commit is contained in:
parent
78dd0e2d8e
commit
fcce915a5f
2 changed files with 4 additions and 1 deletions
|
@ -5521,6 +5521,9 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
me.run(paste);
|
||||
});
|
||||
|
||||
// Clear attachments to prevent duplicates
|
||||
AttachmentViewer.removeAttachment();
|
||||
|
||||
// decrypt paste & attachments
|
||||
decryptionPromises.push(decryptPaste(paste, key, password));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue