Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 285372af authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Merge branch 'public-page-console-error-fix' into 'ecloud-main'

Check for body id 'body-user' and 'body-settings' before replacing icons

See merge request e/infra/selfhost/nextcloud-apps/ecloud-theme-helper!8
parents 47f8640b f3978641
Loading
Loading
Loading
Loading
+23 −19
Original line number Diff line number Diff line
@@ -236,6 +236,9 @@ function replaceSettingsMenuIcons() {
}

$(document).ready(function () {
  const bodyId = $("body").attr("id");

  if (bodyId === "body-user" || bodyId === "body-settings") {
    /* Navbar and navbar menus */
    replaceNavbarIcons();

@@ -259,4 +262,5 @@ $(document).ready(function () {
      replaceSettingsNavigationIcons();
      replaceSettingsSectionIcons();
    }
  }
});