File tree 2 files changed +2
-2
lines changed
chromium/extension/components
firefox/extension/components
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ window.buttons = {
136
136
const chatbarDiv = await chatbar . get ( ) ; if ( ! chatbarDiv ) return this . state . status = 'missing'
137
137
const btnTypesToInsert = this . getTypes . valid ( )
138
138
const parentToInsertInto = (
139
- this . imports . env . site == 'chatgpt' ? ( await this . getRightBtn ( ) ) . closest ( '[class*=bottom]' ) // right btn div
139
+ this . imports . env . site == 'chatgpt' ? this . rightBtn . closest ( '[class*=bottom]' ) // right btn div
140
140
: chatbarDiv . lastChild ) // parent of [Perplexity right btns or Poe Mic/Send btns]
141
141
const elemToInsertBefore = parentToInsertInto [
142
142
this . imports . env . site == 'chatgpt' ? 'lastChild' // right btn
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ window.buttons = {
136
136
const chatbarDiv = await chatbar . get ( ) ; if ( ! chatbarDiv ) return this . state . status = 'missing'
137
137
const btnTypesToInsert = this . getTypes . valid ( )
138
138
const parentToInsertInto = (
139
- this . imports . env . site == 'chatgpt' ? ( await this . getRightBtn ( ) ) . closest ( '[class*=bottom]' ) // right btn div
139
+ this . imports . env . site == 'chatgpt' ? this . rightBtn . closest ( '[class*=bottom]' ) // right btn div
140
140
: chatbarDiv . lastChild ) // parent of [Perplexity right btns or Poe Mic/Send btns]
141
141
const elemToInsertBefore = parentToInsertInto [
142
142
this . imports . env . site == 'chatgpt' ? 'lastChild' // right btn
You can’t perform that action at this time.
0 commit comments