Skip to content

Commit

Permalink
Removed outdated chatgpt.history.isOff() condition from `setBtnColo…
Browse files Browse the repository at this point in the history
…r()` ↞ [auto-sync from `adamlui/chatgpt-widescreen`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 1, 2024
1 parent 6ccded0 commit 22c2e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chatgpt-widescreen/chrome/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
// Define BUTTON functions

function setBtnColor() { return (
site == 'openai' ? ( chatgpt.isDarkMode() || chatgpt.history.isOff() ? 'white' : '#202123' ) : 'currentColor' )}
site == 'openai' ? ( chatgpt.isDarkMode() ? 'white' : '#202123' ) : 'currentColor' )}

function insertBtns() {
const chatbar = document.querySelector(chatbarSelector)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
// @description:zu Engeza izinhlobo zezimodi ze-Widescreen + Fullscreen ku-ChatGPT ukuze kube nokubonakala + ukuncitsha ukusukela
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.4.27.1
// @version 2024.5.1
// @license MIT
// @compatible chrome
// @compatible firefox
Expand Down Expand Up @@ -508,7 +508,7 @@
// Define BUTTON functions

function setBtnColor() { return (
site == 'openai' ? ( chatgpt.isDarkMode() || chatgpt.history.isOff() ? 'white' : '#202123' ) : 'currentColor' )}
site == 'openai' ? ( chatgpt.isDarkMode() ? 'white' : '#202123' ) : 'currentColor' )}

function insertBtns() {
const chatbar = document.querySelector(chatbarSelector)
Expand Down

0 comments on commit 22c2e09

Please sign in to comment.