Bug 1948934 - Don't show new sidebar in kiosk mode. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D254001 Differential Revision: https://phabricator.services.mozilla.com/D257007
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
fb0d3185b8
commit
af95c4ca67
@@ -380,7 +380,7 @@ var SidebarController = {
|
||||
this._handleLauncherResize(entry)
|
||||
);
|
||||
|
||||
if (this.sidebarRevampEnabled) {
|
||||
if (this.sidebarRevampEnabled && !BrowserHandler.kiosk) {
|
||||
if (!customElements.get("sidebar-main")) {
|
||||
ChromeUtils.importESModule(
|
||||
"chrome://browser/content/sidebar/sidebar-main.mjs",
|
||||
|
||||
Reference in New Issue
Block a user