diff --git a/js/privatebin.js b/js/privatebin.js index 9279937..9708a52 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'); } /**