Skip to content

Commit b729aee

Browse files
author
Sebi Nemeth
committed
remove error log
1 parent 699104d commit b729aee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class LiveTranslatorManager {
275275
}
276276
}
277277
catch (error) {
278-
console.warn('Could not get bounding box for', node);
278+
// console.warn('Could not get bounding box for', node);
279279
}
280280
const container = document.createElement('span');
281281
container.classList.add('live-translator-badge-container');

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class LiveTranslatorManager {
319319
position.left = clientRect.left + window.screenX
320320
}
321321
} catch (error) {
322-
console.warn('Could not get bounding box for', node);
322+
// console.warn('Could not get bounding box for', node);
323323
}
324324
const container = document.createElement('span')
325325
container.classList.add('live-translator-badge-container')

0 commit comments

Comments
 (0)