fixed undefined as string

This commit is contained in:
dcore94 2024-11-26 18:45:36 +01:00
parent 14c211be6a
commit c1c2334794
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ class CCPExecutionHistory extends HTMLElement {
{
target : "details[name=level1]",
apply : (e,d)=>{
if(!!d){
if(!!d && d !== "undefined"){
e.alt = e.title = d
if(sessionStorage.getItem(d) === "open") e.open = "open";
else e.removeAttribute("open");