Skip to content

Commit

Permalink
Corrected config key name in toggles.sidebar.stylize()
Browse files Browse the repository at this point in the history
adamlui committed Jan 29, 2025
1 parent dd8909f commit 678c518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgpt-auto-talk/greasemonkey/chatgpt-auto-talk.user.js
Original file line number Diff line number Diff line change
@@ -225,7 +225,7 @@
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.26
// @version 2025.1.29
// @license MIT
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -807,7 +807,7 @@
+ `.${this.class} > span {` // switch span
+ 'position: relative ; width: 30px ; height: 15px ; border-radius: 28px ;'
+ `background-color: var(--switch-${ // init opposite final color
config.autoclear ? 'disabled' : 'enabled' }-bg-color) ;`
!config.autoTalkDisabled ? 'disabled' : 'enabled' }-bg-color) ;`
+ `bottom: ${ env.ui.firstLink ? 0 : -0.15 }em ;`
+ `left: ${ env.browser.isMobile ? 169 : env.ui.firstLink ? 154 : 160 }px ;`
+ 'transition: 0.4s ; -webkit-transition: 0.4s ; -moz-transition: 0.4s ;'

0 comments on commit 678c518

Please sign in to comment.