diff --git a/js/privatebin.js b/js/privatebin.js index 92799379..9708a525 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4276,7 +4276,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { */ me.isAttachmentReadonly = function() { - return createButtonsDisplayed && $attach.hasClass('hidden'); + return !createButtonsDisplayed || $attach.hasClass('hidden'); } /**