Fix display of settings page

This commit is contained in:
Guillaume Gomez 2022-10-15 15:59:00 +02:00
parent b15e2c129e
commit e14d2efba3

View File

@ -216,7 +216,9 @@
const innerHTML = `<div class="settings">${buildSettingsPageSections(settings)}</div>`;
const el = document.createElement(elementKind);
el.id = "settings";
if (!isSettingsPage) {
el.className = "popover";
}
el.innerHTML = innerHTML;
if (isSettingsPage) {