mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
address error, displayed when paste has attachment, but configuration has them disabled
This commit is contained in:
parent
4bf7f863dc
commit
a9bf667f8e
3 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue