diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-10 15:48:16 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-10 17:05:39 +0200 |
commit | 5f02dddd1103c78677a07b02ec7b4b9594fcc36d (patch) | |
tree | 78b50c428479d97599204106b19d986f373c1324 | |
parent | 6f4a3f46577e9e5dc8b352c17021ca90b1f15d33 (diff) | |
download | xK-5f02dddd1103c78677a07b02ec7b4b9594fcc36d.tar.gz xK-5f02dddd1103c78677a07b02ec7b4b9594fcc36d.tar.xz xK-5f02dddd1103c78677a07b02ec7b4b9594fcc36d.zip |
xP: advance unread marker when the log is visible
-rw-r--r-- | xP/public/xP.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js index 48b2aef..91a7f75 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -221,7 +221,7 @@ rpc.addEventListener('BufferLine', event => { return } - let visible = !document.hidden && + let visible = !document.hidden && bufferLog === undefined && (e.bufferName == bufferCurrent || e.leakToActive) b.lines.push({...line}) if (!(visible || e.leakToActive) || |