Skip to content

Commit

Permalink
Removed unneeded double negation from isGPT4oUI assignment ↞ [auto-…
Browse files Browse the repository at this point in the history
…sync from `adamlui/chatgpt-apps/chrome`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 20, 2024
1 parent 73d29e0 commit 5808ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edge/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
document.documentElement.setAttribute('cwm-extension-installed', true) // for userscript auto-disable

// Init UI flag
const isGPT4oUI = !!document.documentElement.className.includes(' ')
const isGPT4oUI = document.documentElement.className.includes(' ')

// Define UI element selectors
if (/chatgpt|openai/.test(site)) await chatgpt.isLoaded()
Expand Down
2 changes: 1 addition & 1 deletion opera/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
document.documentElement.setAttribute('cwm-extension-installed', true) // for userscript auto-disable

// Init UI flag
const isGPT4oUI = !!document.documentElement.className.includes(' ')
const isGPT4oUI = document.documentElement.className.includes(' ')

// Define UI element selectors
if (/chatgpt|openai/.test(site)) await chatgpt.isLoaded()
Expand Down

0 comments on commit 5808ca9

Please sign in to comment.