Skip to content

Commit c5d1f6a

Browse files
committed
Restored needed parentheses to getScheme()
1 parent d4a95c7 commit c5d1f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.3.4.1
228+
// @version 2025.3.8
229229
// @license MIT
230230
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
231231
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -731,7 +731,7 @@
731731

732732
function getScheme() {
733733
return document.documentElement.className
734-
|| window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light'
734+
|| ( window.matchMedia?.('(prefers-color-scheme: dark)')?.matches ? 'dark' : 'light' )
735735
}
736736

737737
function syncConfigToUI() {

0 commit comments

Comments
 (0)