From f47a4351bfca9a27affad9bbfc35b7365c8e86b7 Mon Sep 17 00:00:00 2001 From: eight04 Date: Thu, 16 Dec 2021 02:29:11 +0800 Subject: [PATCH] Fix: better comment --- background/usercss-install-helper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background/usercss-install-helper.js b/background/usercss-install-helper.js index d99b1f80..bc331fab 100644 --- a/background/usercss-install-helper.js +++ b/background/usercss-install-helper.js @@ -120,7 +120,8 @@ bgReady.all.then(() => { try { await browser.tabs.update(tabId, {url: newUrl}); } catch (err) { - // FIXME: https://github.com/openstyles/stylus/issues/1367 + // FIXME: remove this when kiwi supports tabs.update + // https://github.com/openstyles/stylus/issues/1367 if (/Tabs cannot be edited right now/i.test(err.message)) { return browser.tabs.create({url: newUrl}); }