Added comments to separate code sections.
This commit is contained in:
parent
4c21b93263
commit
dfe60f527c
@ -1,3 +1,5 @@
|
||||
//// OVERLAY FOR VIEWING MEDIA FILES
|
||||
|
||||
const video_formats = ["webm", "mp4"];
|
||||
const audio_formats = ["mp3", "flac", "opus", "ogg", "m4a"];
|
||||
const image_formats = ["jpg", "jpeg", "gif", "png", "bmp", "webp"];
|
||||
@ -56,6 +58,7 @@ file_links.forEach(f => f.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
}));
|
||||
|
||||
//// SORT BY COLUMN
|
||||
|
||||
const [thead_name, thead_date, thead_size] = document.getElementsByTagName('thead')[0]
|
||||
.getElementsByTagName('tr')[0].getElementsByTagName('th');
|
||||
|
Loading…
Reference in New Issue
Block a user