mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
Duplicate attachment for every comment fix
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user