1
0
Fork 0

Added comments to separate code sections.

This commit is contained in:
Alexander Andreev 2022-06-28 05:02:10 +04:00
parent 4c21b93263
commit dfe60f527c
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 3 additions and 0 deletions

View File

@ -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');