Avoid dropzone appearing when it should not by fixing

TopNav.isAttachmentReadonly logic
This commit is contained in:
Haocen Xu 2020-05-30 05:48:15 -04:00
parent d6b06269a4
commit 4984194c33
No known key found for this signature in database
GPG Key ID: 3F0D955A0F6AD729

View File

@ -4276,7 +4276,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
*/
me.isAttachmentReadonly = function()
{
return createButtonsDisplayed && $attach.hasClass('hidden');
return !createButtonsDisplayed || $attach.hasClass('hidden');
}
/**