mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
mod_muc_log: Hide join/leave lines, add method to show them
This commit is contained in:
parent
c0055b7a7f
commit
281515cd9f
3 changed files with 46 additions and 1 deletions
|
@ -6,3 +6,14 @@ function sh(e) {
|
|||
document.getElementById(e).style.display='none';
|
||||
}
|
||||
}
|
||||
// Show/Hide join/leave elements
|
||||
function jlf() {
|
||||
var es = document.getElementsByClassName('jl');
|
||||
for (var i = 0; i < es.length; i++) {
|
||||
if (es[i].style.display === 'block') {
|
||||
es[i].style.display = 'none';
|
||||
} else {
|
||||
es[i].style.display = 'block';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue