From 8f76c9b09d644b3926df311d61f85b0a8dd23a7f Mon Sep 17 00:00:00 2001 From: Cutls Date: Sat, 5 Oct 2019 01:57:53 +0900 Subject: [PATCH] Fix: close tabs on acct/settings --- app/js/login/manager.js | 6 +++++- app/js/ui/settings.js | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/js/login/manager.js b/app/js/login/manager.js index 447de04e..8596eb76 100644 --- a/app/js/login/manager.js +++ b/app/js/login/manager.js @@ -889,4 +889,8 @@ input.addEventListener("focus", function () { input.addEventListener("blur", function () { window.clearInterval(timer); -}, false); \ No newline at end of file +}, false); +//acctで未読マーカーは要らない +function asReadEnd() { + postMessage(["asReadComp", ""], "*") +} \ No newline at end of file diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index 3a8932e2..ef74c749 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -694,4 +694,7 @@ window.onload = function () { oksload(); ctLoad() }; - +//設定画面で未読マーカーは要らない +function asReadEnd() { + postMessage(["asReadComp", ""], "*") +}