Skip to content

Commit 65e3978

Browse files
committed
Restored needed parentheses to getScheme() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-refresh]
1 parent 5ab988a commit 65e3978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

greasemonkey/chatgpt-auto-refresh.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221221
// @author Adam Lui
222222
// @namespace https://github.com/adamlui
223-
// @version 2025.3.4.1
223+
// @version 2025.3.8
224224
// @license MIT
225225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226226
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
@@ -785,7 +785,7 @@
785785

786786
function getScheme() {
787787
return document.documentElement.className
788-
|| window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light'
788+
|| ( window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light' )
789789
}
790790

791791
function syncConfigToUI(options) {

0 commit comments

Comments
 (0)