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 4549e73 commit 4fb5de5Copy full SHA for 4fb5de5
public/components/legend/legend.js
@@ -19,7 +19,7 @@ export class Legend {
19
);
20
21
this.DOMElement = document.getElementById("legend");
22
- this.DOMElement.appendChild(fragment);
+ this.DOMElement.replaceChildren(fragment);
23
show && this.show();
24
}
25
public/components/views/settings/settings.js
@@ -202,5 +202,7 @@ export class Settings {
202
for (const checkbox of this.dom.flagsCheckbox) {
203
checkbox.checked = flags.has(checkbox.getAttribute("value"));
204
205
+
206
+ this.dom.showFriendlyDependenciesCheckbox.checked = this.config.showFriendlyDependencies;
207
208
0 commit comments