@therms/web-js
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,8 @@ | ||
## [2.1.1](http://bitbucket.org/thermsio/web-js/compare/v2.1.0...v2.1.1) (2022-04-14) | ||
### Bug Fixes | ||
* onBrowserVisibilityChange false value ([6e589cb](http://bitbucket.org/thermsio/web-js/commits/6e589cb9f4bb9df18044b5640c85422bb0f6a483)) | ||
# [2.1.0](http://bitbucket.org/thermsio/web-js/compare/v2.0.0...v2.1.0) (2022-04-14) | ||
@@ -2,0 +9,0 @@ |
@@ -21,3 +21,3 @@ 'use strict'; | ||
function isHidden() { | ||
callbacks.forEach((cb) => cb(true)); | ||
callbacks.forEach((cb) => cb(false)); | ||
} | ||
@@ -24,0 +24,0 @@ // Standards: |
@@ -7,3 +7,3 @@ const checkIsBrowserVisible = () => document.visibilityState !== 'hidden'; | ||
function isHidden() { | ||
callbacks.forEach((cb) => cb(true)); | ||
callbacks.forEach((cb) => cb(false)); | ||
} | ||
@@ -10,0 +10,0 @@ // Standards: |
{ | ||
"name": "@therms/web-js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Common web/JS tools & utilities", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
98992