mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-27 08:10:25 +00:00
Remove usage of innerHTML
This commit is contained in:
parent
da606315f7
commit
ce437dbd58
@ -184,8 +184,10 @@ async function showSettingsModal() {
|
||||
});
|
||||
|
||||
const legend = document.createElement("legend");
|
||||
legend.innerHTML = "<h2>" + section.key + "</h2>";
|
||||
legend.style.textTransform = "capitalize";
|
||||
const legendHeader = document.createElement("h2");
|
||||
legendHeader.textContent = section.key;
|
||||
legendHeader.style.textTransform = "capitalize";
|
||||
legend.appendChild(legendHeader);
|
||||
group.appendChild(legend);
|
||||
|
||||
for (const setting of section.settings) {
|
||||
|
Loading…
Reference in New Issue
Block a user