address error, displayed when paste has attachment, but configuration has them disabled
This commit is contained in:
@@ -3088,8 +3088,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
||||
$attachment = $('#attachment');
|
||||
$dragAndDropFileName = $('#dragAndDropFileName');
|
||||
$dropzone = $('#dropzone');
|
||||
$attachmentLink = $('#attachment a') || $('<a>');
|
||||
if($attachment.length) {
|
||||
$attachmentLink = $('#attachment a');
|
||||
$attachmentPreview = $('#attachmentPreview');
|
||||
|
||||
$fileInput = $('#file');
|
||||
|
||||
Reference in New Issue
Block a user