From 9fb48b2f4d6d3878f1092ee22eff9ee782232512 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 7 Apr 2022 23:59:25 +0800 Subject: [PATCH] chore: Correcting grammer --- src/contentScripts/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/contentScripts/index.ts b/src/contentScripts/index.ts index 4beb4b38..a57693bd 100644 --- a/src/contentScripts/index.ts +++ b/src/contentScripts/index.ts @@ -23,7 +23,8 @@ import { getCookie, i18n, setCookie, SVG_ICONS } from '~/utils' || /https?:\/\/bilibili.com\/\?spm_id_from=.*/.test(currentUrl) || /https?:\/\/www.bilibili.com\/\?spm_id_from=(.)*/.test(currentUrl) ) { - // if current homepage is old version, redirect to new version + // if the current homepage is an old version, redirect to the new version + // because they had some style errors in the old version if (`${getCookie('i-wanna-go-back')}` === '2') { setCookie('i-wanna-go-back', '-1', 1) location.reload()