Skip to content

Commit 705050a

Browse files
committed
Removed unneeded parentheses from getScheme() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-continue]
1 parent 20a7526 commit 705050a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220220
// @author Adam Lui
221221
// @namespace https://github.com/adamlui
222-
// @version 2025.3.4
222+
// @version 2025.3.4.1
223223
// @license MIT
224224
// @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon48.png?v=8b39fb4
225225
// @icon64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon64.png?v=8b39fb4
@@ -490,7 +490,7 @@
490490

491491
function getScheme() {
492492
return document.documentElement.className
493-
|| (window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light')
493+
|| window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light'
494494
}
495495

496496
function syncConfigToUI() { toolbarMenu.refresh() /* prefixes/suffixes */ }

0 commit comments

Comments
 (0)