forked from ruangrupa/lumbung.space
minor formatting
This commit is contained in:
parent
5ca22cce04
commit
40f8926fba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user