Skip to content

Commit b3e4081

Browse files
committed
1 parent 783c5a2 commit b3e4081

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

chromium/extension/lib/chatbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ window.chatbar = {
1010
},
1111

1212
is: {
13-
async dark() { // requires lib/chatbar.js + env
13+
async dark() { // requires env.site
1414
return env.site != 'chatgpt' ? undefined
1515
: getComputedStyle(await chatbar.get() || document.documentElement)
1616
.backgroundColor == 'rgb(33, 33, 33)'
1717
},
1818

19-
async tall() { return (await chatbar.get())?.getBoundingClientRect().height > 60 } // requires lib/chatbar.js
19+
async tall() { return (await chatbar.get())?.getBoundingClientRect().height > 60 }
2020
},
2121

2222
async reset() { // requires <env|sites>

firefox/extension/lib/chatbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ window.chatbar = {
1010
},
1111

1212
is: {
13-
async dark() { // requires lib/chatbar.js + env
13+
async dark() { // requires env.site
1414
return env.site != 'chatgpt' ? undefined
1515
: getComputedStyle(await chatbar.get() || document.documentElement)
1616
.backgroundColor == 'rgb(33, 33, 33)'
1717
},
1818

19-
async tall() { return (await chatbar.get())?.getBoundingClientRect().height > 60 } // requires lib/chatbar.js
19+
async tall() { return (await chatbar.get())?.getBoundingClientRect().height > 60 }
2020
},
2121

2222
async reset() { // requires <env|sites>

0 commit comments

Comments
 (0)