allow pasting password on paste with attachment - big kudos @rugk for finding it! - fixes #565, fixes #595

This commit is contained in:
El RIDO 2020-03-21 16:53:55 +01:00
parent 0907ee90e3
commit 1439bb291f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 5 additions and 3 deletions

View file

@ -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');
}
/**