parent
5ca22cce04
commit
40f8926fba
@ -15,6 +15,7 @@
|
|||||||
function toggleDescription(id) {
|
function toggleDescription(id) {
|
||||||
document.querySelector(id).classList.toggle("collapsed");
|
document.querySelector(id).classList.toggle("collapsed");
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadPlayer(id, embed_path) {
|
function loadPlayer(id, embed_path) {
|
||||||
media = document.querySelector('#media-'+ id)
|
media = document.querySelector('#media-'+ id)
|
||||||
|
|
||||||
@ -27,6 +28,8 @@
|
|||||||
media.appendChild(iframe);
|
media.appendChild(iframe);
|
||||||
document.querySelector('#thumb-'+ id).remove();
|
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')
|
document.querySelector('[aria-label="Previous"]').parentElement.classList.add('previous-page-link')
|
||||||
|
|
||||||
// for toggling submenus in mobile navigation drawer
|
// for toggling submenus in mobile navigation drawer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user