mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
Fixed decryption of pastes without attachment, that have a password
This commit is contained in:
parent
b5c259dd72
commit
28b8f878dc
3 changed files with 5 additions and 5 deletions
|
@ -2030,7 +2030,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
/**
|
||||
* removes the attachment
|
||||
*
|
||||
* This automatically hides the attachment containers to, to
|
||||
* This automatically hides the attachment containers too, to
|
||||
* prevent an inconsistent display.
|
||||
*
|
||||
* @name AttachmentViewer.removeAttachment
|
||||
|
@ -2043,8 +2043,8 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
}
|
||||
me.hideAttachment();
|
||||
me.hideAttachmentPreview();
|
||||
$attachmentLink.prop('href', '');
|
||||
$attachmentLink.prop('download', '');
|
||||
$attachmentLink.removeAttr('href');
|
||||
$attachmentLink.removeAttr('download');
|
||||
$attachmentPreview.html('');
|
||||
|
||||
file = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue