Skip to content

Commit 77e6a20

Browse files
committed
Fix flow issue
1 parent d58c601 commit 77e6a20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/modules/showImages.js

+1
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,7 @@ class Video extends Media {
20192019
// $FlowIssue `Document#fullscreen` `Video#requestFullscreen` and `Document#exitFullscreen` not typed
20202020
this.video.requestFullscreen();
20212021
await enterFullscreenPromise;
2022+
// $FlowIssue `Document#fullscreen` `Video#requestFullscreen` and `Document#exitFullscreen` not typed
20222023
if (document.fullscreen) await waitForEvent(this.video, 'fullscreenchange', 'dblclick'); // leaves fullscreen
20232024
// $FlowIssue `Document#fullscreen` `Video#requestFullscreen` and `Document#exitFullscreen` not typed
20242025
if (document.fullscreen) document.exitFullscreen();

0 commit comments

Comments
 (0)