mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-18 15:12:04 +00:00
oops, #148
This commit is contained in:
parent
3f185bd254
commit
faa3b882af
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "1.7.3",
|
||||
"version": "1.7.4",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@
|
|||
}
|
||||
let visibilityPaused = true
|
||||
document.addEventListener('visibilitychange', () => {
|
||||
if (!video?.ended && set.playerPause) {
|
||||
if (!video?.ended && set.playerPause && !pip) {
|
||||
if (document.visibilityState === 'hidden') {
|
||||
visibilityPaused = paused
|
||||
paused = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue