Merge pull request #1720 from webtorrent/type-issues

Fix a few type errors
This commit is contained in:
Julen Garcia Leunda
2019-10-18 11:26:25 +02:00
committed by GitHub
9 changed files with 10 additions and 15 deletions

View File

@@ -559,7 +559,7 @@ function onBlur () {
}
function onVisibilityChange () {
state.window.isVisible = !document.webkitHidden
state.window.isVisible = !document.hidden
}
function onFullscreenChanged (e, isFullScreen) {