mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
Adding new DOM element, CSS and JS code
This commit is contained in:
@@ -2995,7 +2995,9 @@ jQuery.PrivateBin = (function($) {
|
||||
attachmentLink.attr('download', fileName);
|
||||
|
||||
const fileSize = Helper.formatBytes(decodedData.length);
|
||||
const fileInfo = document.createTextNode(` (${fileName}, ${fileSize})`);
|
||||
const fileInfo = document.createElement('span');
|
||||
fileInfo.id = 'attachmentInfo';
|
||||
fileInfo.textContent = ` (${fileName}, ${fileSize})`;
|
||||
template[0].appendChild(fileInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user