Skip to content

Commit

Permalink
Fix display of settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 15, 2022
1 parent b15e2c1 commit e14d2ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustdoc/html/static/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@
const innerHTML = `<div class="settings">${buildSettingsPageSections(settings)}</div>`;
const el = document.createElement(elementKind);
el.id = "settings";
el.className = "popover";
if (!isSettingsPage) {
el.className = "popover";
}
el.innerHTML = innerHTML;

if (isSettingsPage) {
Expand Down

0 comments on commit e14d2ef

Please sign in to comment.