mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
Avoid dropzone appearing when it should not by fixing
TopNav.isAttachmentReadonly logic
This commit is contained in:
parent
d6b06269a4
commit
4984194c33
@ -4276,7 +4276,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||
*/
|
||||
me.isAttachmentReadonly = function()
|
||||
{
|
||||
return createButtonsDisplayed && $attach.hasClass('hidden');
|
||||
return !createButtonsDisplayed || $attach.hasClass('hidden');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user