File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 362
362
363
363
// Monitor SIDEBARS to update config.fullWindow for sites w/ native toggle
364
364
if ( sites [ env . site ] . selectors . btns . sidebar && sites [ env . site ] . hasSidebar ) {
365
- const sidebarObserver = new ResizeObserver ( ( ) => // sync config.fullWindow ⇆ sidebar width
366
- ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
365
+ const sidebarObserver = new ResizeObserver ( // sync config.fullWindow ⇆ sidebar width
366
+ ( ) => ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
367
367
observeSidebars ( )
368
368
new MutationObserver ( // re-observeSidebars() on disconnect
369
369
( ) => getSidebars ( ) . some ( bar => ! sidebarObserver . targets ?. includes ( bar ) ) && observeSidebars ( )
Original file line number Diff line number Diff line change 362
362
363
363
// Monitor SIDEBARS to update config.fullWindow for sites w/ native toggle
364
364
if ( sites [ env . site ] . selectors . btns . sidebar && sites [ env . site ] . hasSidebar ) {
365
- const sidebarObserver = new ResizeObserver ( ( ) => // sync config.fullWindow ⇆ sidebar width
366
- ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
365
+ const sidebarObserver = new ResizeObserver ( // sync config.fullWindow ⇆ sidebar width
366
+ ( ) => ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
367
367
observeSidebars ( )
368
368
new MutationObserver ( // re-observeSidebars() on disconnect
369
369
( ) => getSidebars ( ) . some ( bar => ! sidebarObserver . targets ?. includes ( bar ) ) && observeSidebars ( )
Original file line number Diff line number Diff line change 235
235
// @description :zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-perplexity.ai + poe.com!
236
236
// @author Adam Lui
237
237
// @namespace https://github.com/adamlui
238
- // @version 2025.4.20.2
238
+ // @version 2025.4.20.3
239
239
// @license MIT
240
240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241
241
// @icon 64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
959
959
960
960
// Monitor SIDEBARS to update config.fullWindow for sites w/ native toggle
961
961
if ( sites [ env . site ] . selectors . btns . sidebar && sites [ env . site ] . hasSidebar ) {
962
- const sidebarObserver = new ResizeObserver ( ( ) => // sync config.fullWindow ⇆ sidebar width
963
- ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
962
+ const sidebarObserver = new ResizeObserver ( // sync config.fullWindow ⇆ sidebar width
963
+ ( ) => ( config . fullWindow ^ ui . isFullWin ( ) ) && ! config . modeSynced && sync . mode ( 'fullWindow' ) )
964
964
observeSidebars ( )
965
965
new MutationObserver ( // re-observeSidebars() on disconnect
966
966
( ) => getSidebars ( ) . some ( bar => ! sidebarObserver . targets ?. includes ( bar ) ) && observeSidebars ( )
You can’t perform that action at this time.
0 commit comments