minor formatting
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@ -12,10 +12,11 @@
{{- partial "footer.html" . -}}
</body>
<script>
function toggleDescription(id){
function toggleDescription(id) {
document.querySelector(id).classList.toggle("collapsed");
}
function loadPlayer(id, embed_path){
function loadPlayer(id, embed_path) {
media = document.querySelector('#media-'+ id)
var iframe = document.createElement('iframe');
@ -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