MastodonHelp/web/site/js/shsum.js
pezcurrel 5ec1354546 ...
2020-10-18 06:53:27 +02:00

23 lines
701 B
JavaScript

var sumsh=false;
function shsum() {
summc=document.getElementById('summcont');
summl=document.getElementById('summlink');
summcl=document.getElementById('summclose');
// hmenu=document.getElementById('hmenu');
// menui=document.getElementById('menuicon');
if (sumsh) {
summc.style.display='none';
summl.style.display='block';
summcl.style.display='none';
// hmenu.style.display='none';
// menui.src='<?php echo($prepath); ?>imgs/menuicon_inactive.svg';
sumsh=false;
} else {
summc.style.display='block';
summl.style.display='none';
summcl.style.display='block';
// hmenu.style.display='block';
// menui.src='<?php echo($prepath); ?>imgs/menuicon_active.svg';
sumsh=true;
}
}