MastodonHelp/web/site/js/shsum.js

24 lines
701 B
JavaScript
Raw Normal View History

2019-12-02 20:16:26 +01:00
var sumsh=false;
function shsum() {
summc=document.getElementById('summcont');
2020-10-13 08:21:26 +02:00
summl=document.getElementById('summlink');
summcl=document.getElementById('summclose');
2019-12-02 20:16:26 +01:00
// hmenu=document.getElementById('hmenu');
// menui=document.getElementById('menuicon');
if (sumsh) {
summc.style.display='none';
2020-10-13 08:21:26 +02:00
summl.style.display='block';
summcl.style.display='none';
2019-12-02 20:16:26 +01:00
// hmenu.style.display='none';
// menui.src='<?php echo($prepath); ?>imgs/menuicon_inactive.svg';
sumsh=false;
} else {
summc.style.display='block';
2020-10-13 08:21:26 +02:00
summl.style.display='none';
summcl.style.display='block';
2019-12-02 20:16:26 +01:00
// hmenu.style.display='block';
// menui.src='<?php echo($prepath); ?>imgs/menuicon_active.svg';
sumsh=true;
}
}