hide away temporary ugly entries
This commit is contained in:
parent
cbda89bded
commit
14c211be6a
|
@ -769,9 +769,14 @@ class CCPExecutionHistory extends HTMLElement {
|
|||
{
|
||||
target : "details[name=level1]",
|
||||
apply : (e,d)=>{
|
||||
e.alt = e.title = d
|
||||
if(sessionStorage.getItem(d) === "open") e.open = "open";
|
||||
else e.removeAttribute("open");
|
||||
if(!!d){
|
||||
e.alt = e.title = d
|
||||
if(sessionStorage.getItem(d) === "open") e.open = "open";
|
||||
else e.removeAttribute("open");
|
||||
}else{
|
||||
//hide away entries that may occur as empty because of timing issues on the server
|
||||
e.style.display = "none"
|
||||
}
|
||||
},
|
||||
on_toggle : ev=>{
|
||||
if(ev.target.open){
|
||||
|
|
Loading…
Reference in New Issue