mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 04:49:59 +02:00
feat: Do not hide toasts on welcome page, b=(no-bug), c=common, welcome
This commit is contained in:
parent
0e3faf45b1
commit
aa662910b2
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
{
|
||||
var ZenStartup = {
|
||||
_watermarkIgnoreElements: ['zen-browser-background'],
|
||||
_watermarkIgnoreElements: ['zen-browser-background', 'zen-toast-container'],
|
||||
|
||||
init() {
|
||||
this.openWatermark();
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
:root[zen-before-loaded='true'] #browser > *:not(#zen-browser-background),
|
||||
:root[zen-before-loaded='true'] #browser > *:not(#zen-browser-background, #zen-toast-container),
|
||||
:root[zen-before-loaded='true'] #urlbar {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
var _tabsToPin = [];
|
||||
var _tabsToPinEssentials = [];
|
||||
|
||||
const kZenElementsToIgnore = ['zen-browser-background'];
|
||||
const kZenElementsToIgnore = ['zen-browser-background', 'zen-toast-container'];
|
||||
|
||||
function clearBrowserElements() {
|
||||
for (const element of document.getElementById('browser').children) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue