Skip to content

Commit 7ba4778

Browse files
gijskrvandermeulen
authored andcommitted
Bug 1992036 - fix broken notification for hiding navtoolbox, a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D267402 Differential Revision: https://phabricator.services.mozilla.com/D267837
1 parent 200a3f2 commit 7ba4778

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

browser/base/content/browser-fullScreenAndPointerLock.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,11 @@ var FullScreen = {
947947
gNavToolbox.style.marginTop =
948948
-gNavToolbox.getBoundingClientRect().height + "px";
949949
this._isChromeCollapsed = true;
950-
Services.obs.notifyObservers(null, "fullscreen-nav-toolbox", "hidden");
950+
Services.obs.notifyObservers(
951+
gNavToolbox,
952+
"fullscreen-nav-toolbox",
953+
"hidden"
954+
);
951955

952956
MousePosTracker.removeListener(this);
953957
},

0 commit comments

Comments
 (0)