minor formatting

This commit is contained in:
Aadil Ayub 2022-04-13 22:54:07 +05:00
parent 5ca22cce04
commit 40f8926fba

View File

@ -15,6 +15,7 @@
function toggleDescription(id) {
document.querySelector(id).classList.toggle("collapsed");
}
function loadPlayer(id, embed_path) {
media = document.querySelector('#media-'+ id)
@ -27,6 +28,8 @@
media.appendChild(iframe);
document.querySelector('#thumb-'+ id).remove();
}
// remove black box around "previous" page nav link (couldn't handle this with CSS nth-child)
document.querySelector('[aria-label="Previous"]').parentElement.classList.add('previous-page-link')
// for toggling submenus in mobile navigation drawer