mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-24 22:45:10 -04:00
Adding Bootstrap Classname to dynamically created child element
This commit is contained in:
+1
-1
@@ -2996,7 +2996,7 @@ jQuery.PrivateBin = (function($) {
|
||||
|
||||
const fileSize = Helper.formatBytes(decodedData.length);
|
||||
const fileInfo = document.createElement('span');
|
||||
fileInfo.id = 'attachmentInfo';
|
||||
fileInfo.class = 'alert';
|
||||
fileInfo.textContent = ` (${fileName}, ${fileSize})`;
|
||||
template[0].appendChild(fileInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user