File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ class LiveTranslatorManager {
275
275
}
276
276
}
277
277
catch ( error ) {
278
- console . error ( error , node , node . tagName ) ;
278
+ console . warn ( 'Could not get bounding box for' , node ) ;
279
279
}
280
280
const container = document . createElement ( 'span' ) ;
281
281
container . classList . add ( 'live-translator-badge-container' ) ;
Original file line number Diff line number Diff line change @@ -319,8 +319,7 @@ class LiveTranslatorManager {
319
319
position . left = clientRect . left + window . screenX
320
320
}
321
321
} catch ( error ) {
322
- console . error ( error , node , node . tagName ) ;
323
-
322
+ console . warn ( 'Could not get bounding box for' , node ) ;
324
323
}
325
324
const container = document . createElement ( 'span' )
326
325
container . classList . add ( 'live-translator-badge-container' )
You can’t perform that action at this time.
0 commit comments