From a7874ca46edabb90fea0600fc8b44f3d1720d9ec Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Sat, 2 Aug 2025 22:41:13 +0200 Subject: [PATCH] feat: Load l10n newtab message after loading, b=no-bug, c=common --- src/zen/common/ZenStartup.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zen/common/ZenStartup.mjs b/src/zen/common/ZenStartup.mjs index ff8278933..ddaef1213 100644 --- a/src/zen/common/ZenStartup.mjs +++ b/src/zen/common/ZenStartup.mjs @@ -47,12 +47,12 @@ setTimeout(() => { gZenUIManager.init(); this._checkForWelcomePage(); - }, 0); - document.l10n.setAttributes( - document.getElementById('tabs-newtab-button'), - 'tabs-toolbar-new-tab' - ); + document.l10n.setAttributes( + document.getElementById('tabs-newtab-button'), + 'tabs-toolbar-new-tab' + ); + }, 0); } catch (e) { console.error('ZenThemeModifier: Error initializing browser layout', e); }