mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
allow pasting password on paste with attachment - big kudos @rugk for finding it! - fixes #565, fixes #595
This commit is contained in:
parent
0907ee90e3
commit
1439bb291f
4 changed files with 5 additions and 3 deletions
|
@ -3447,6 +3447,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
if (fadeOut === true) {
|
||||
setTimeout(function () {
|
||||
$comment.removeClass('highlight');
|
||||
|
||||
}, 300);
|
||||
}
|
||||
};
|
||||
|
@ -4249,7 +4250,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
*/
|
||||
me.isAttachmentReadonly = function()
|
||||
{
|
||||
return $attach.hasClass('hidden');
|
||||
return createButtonsDisplayed && $attach.hasClass('hidden');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue