We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdff378 commit fb862c5Copy full SHA for fb862c5
components/type-doc.ts
@@ -185,10 +185,10 @@ export class TypeDoc extends LitElement {
185
186
private cloneHeading() {
187
const hidden = this.shadowRoot.querySelector(".visually-hidden");
188
- if (!hidden) return;
189
- for (const child of Array.from(hidden.children)) child.remove();
+ if (!hidden) {return;}
+ for (const child of Array.from(hidden.children)) {child.remove();}
190
const heading = this.querySelector('[slot="name"]');
191
- if (!heading) return;
+ if (!heading) {return;}
192
hidden.append(heading.cloneNode(true));
193
}
194
0 commit comments