File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ window.chatbar = {
10
10
} ,
11
11
12
12
is : {
13
- async dark ( ) { // requires lib/chatbar.js + env
13
+ async dark ( ) { // requires env.site
14
14
return env . site != 'chatgpt' ? undefined
15
15
: getComputedStyle ( await chatbar . get ( ) || document . documentElement )
16
16
. backgroundColor == 'rgb(33, 33, 33)'
17
17
} ,
18
18
19
- async tall ( ) { return ( await chatbar . get ( ) ) ?. getBoundingClientRect ( ) . height > 60 } // requires lib/chatbar.js
19
+ async tall ( ) { return ( await chatbar . get ( ) ) ?. getBoundingClientRect ( ) . height > 60 }
20
20
} ,
21
21
22
22
async reset ( ) { // requires <env|sites>
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ window.chatbar = {
10
10
} ,
11
11
12
12
is : {
13
- async dark ( ) { // requires lib/chatbar.js + env
13
+ async dark ( ) { // requires env.site
14
14
return env . site != 'chatgpt' ? undefined
15
15
: getComputedStyle ( await chatbar . get ( ) || document . documentElement )
16
16
. backgroundColor == 'rgb(33, 33, 33)'
17
17
} ,
18
18
19
- async tall ( ) { return ( await chatbar . get ( ) ) ?. getBoundingClientRect ( ) . height > 60 } // requires lib/chatbar.js
19
+ async tall ( ) { return ( await chatbar . get ( ) ) ?. getBoundingClientRect ( ) . height > 60 }
20
20
} ,
21
21
22
22
async reset ( ) { // requires <env|sites>
You can’t perform that action at this time.
0 commit comments