From 0b727fbc4b624616974a1acbb4ff192dc0335494 Mon Sep 17 00:00:00 2001 From: Will Date: Sun, 4 Aug 2024 15:51:53 -0700 Subject: [PATCH] fix: make license notice a bit less intrusive --- package.json | 2 +- src/sw.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 61e56e5..c3617d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nimv3", - "version": "3.9.1", + "version": "3.9.2", "scripts": { "dev": "vite --host", "dev:extension": "npm-run-all --parallel build:dev watch:rollup:deps", diff --git a/src/sw.js b/src/sw.js index af0deaa..f30e74b 100644 --- a/src/sw.js +++ b/src/sw.js @@ -442,11 +442,11 @@ async function checkLicenseStatus() { if (tabs.length > 0) { const existingTabId = tabs[0].id - await chrome.tabs.update(existingTabId, { active: true }) + await chrome.tabs.update(existingTabId, { active: false }) } else { await chrome.tabs.create({ url: 'https://june07.com/nim-subscription/?oUserId=' + oUserId, - active: true + active: false }) } }