Skip to content

Commit

Permalink
Bug 1588883 - Restore fullscreen transition message. r=mconley
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D49373

--HG--
extra : moz-landing-system : lando
  • Loading branch information
layely committed Oct 17, 2019
1 parent 48bfc7d commit 85311b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/actors/DOMFullscreenParent.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DOMFullscreenParent extends JSWindowActorParent {
}
case "DOMFullscreen:NewOrigin": {
// Don't show the warning if we've already exited fullscreen.
if (window.fullscreen) {
if (window.document.fullscreen) {
window.PointerlockFsWarning.showFullScreen(
aMessage.data.originNoSuffix
);
Expand Down

0 comments on commit 85311b3

Please sign in to comment.