fix gh-code-scanning bot remark

This commit is contained in:
Robin Scholtes 2023-08-15 21:58:06 +12:00
parent 1171f0a517
commit e77ded4859

View file

@ -283,7 +283,7 @@ export class COperationLi extends HTMLElement {
pos = start + length;
});
opName += this.name.slice(pos, this.name.length);
span.innerHTML = opName;
span.innerHTML = `${opName}`;
} else {
span.innerText = this.name;
}