mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
|
// Show/Hide an element
|
||
|
function sh(e) {
|
||
|
if (document.getElementById(e).style.display=='none') {
|
||
|
document.getElementById(e).style.display='block';
|
||
|
} else {
|
||
|
document.getElementById(e).style.display='none';
|
||
|
}
|
||
|
}
|