mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-07 05:43:21 +00:00
feat: Load l10n newtab message after loading, b=no-bug, c=common
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user