Add warning when chapter name similar to category

This commit is contained in:
Ajay
2022-06-22 18:10:07 -04:00
parent 70731e42a5
commit 355572ba04
3 changed files with 43 additions and 19 deletions

View File

@@ -33,8 +33,8 @@ export class RectangleTooltip {
props.fontSize ??= "10px";
this.container = document.createElement('div');
props.htmlId ??= props.text;
this.container.id = "sponsorRectangleTooltip" + props.htmlId;
props.htmlId ??= "sponsorRectangleTooltip" + props.text;
this.container.id = props.htmlId;
this.container.style.display = "relative";
if (props.prependElement) {