Skip to content

Commit c993dc5

Browse files
committed
Updated chatgpt.sidebar.is<On|Off>() to work w/ new skinny sidebar ↞ [auto-sync from https://github.com/KudoAI/chatgpt.js]
1 parent 093f322 commit c993dc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

starters/chrome/extension/lib/chatgpt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ const chatgpt = {
18931893
if (!sidebar) { return console.error('Sidebar element not found!') || false }
18941894
else return chatgpt.browser.isMobile() ?
18951895
document.documentElement.style.overflow == 'hidden'
1896-
: sidebar.style.visibility != 'hidden' && sidebar.style.width != '0px'
1896+
: sidebar.style.visibility != 'hidden' && parseInt(getComputedStyle(sidebar).width) > 150
18971897
},
18981898

18991899
toggle() {

starters/chrome/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "ChatGPT Extension",
44
"short_name": "ChatGPT 🧩",
55
"description": "A Chromium extension template to start using chatgpt.js like a boss!",
6-
"version": "2025.7.27",
6+
"version": "2025.8.14",
77
"author": "KudoAI",
88
"homepage_url": "https://github.com/KudoAI/chatgpt.js-chrome-starter",
99
"icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "64": "icons/icon64.png", "128": "icons/icon128.png" },

0 commit comments

Comments
 (0)