matrix-react-sdk
d3038ea7 - Don't try to exit fullscreen if not fullscreen

Commit
7 years ago
Don't try to exit fullscreen if not fullscreen This was causing annoying exceptions on latest Chrome. Use document.fullScreenElement to detect if we're fullscreen and don't try to exit if we aren't.
Author
Parents
Loading