From 1b2ff0b0544dfb3f7358373eea1c009b6d6f1e46 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 1 Jul 2020 13:31:14 +0000 Subject: [PATCH] Bug 1594738 Remove top black line from kiosk mode; r=mkaply There is a fullscr-toggler still shown in kiosk mode. This patch disables it showing when in kiosk mode. Differential Revision: https://phabricator.services.mozilla.com/D81828 --- browser/base/content/browser-fullScreenAndPointerLock.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser-fullScreenAndPointerLock.js b/browser/base/content/browser-fullScreenAndPointerLock.js index bb80f9bd8649..ec7705633317 100644 --- a/browser/base/content/browser-fullScreenAndPointerLock.js +++ b/browser/base/content/browser-fullScreenAndPointerLock.js @@ -724,7 +724,9 @@ var FullScreen = { return; } - this._fullScrToggler.hidden = false; + if (!BrowserHandler.kiosk) { + this._fullScrToggler.hidden = false; + } if ( aAnimate &&