Skip to content
Snippets Groups Projects
Commit d431e5a6 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix fullscreen related error

`document.exitFullscreen` is no longer called when fullscreen is not
active.

Spec: "If doc is not fully active or doc’s fullscreen element is null,
then reject promise with a TypeError exception and return promise."
(https://fullscreen.spec.whatwg.org)
parent d1cfdede
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment