We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527a418 commit c838e8aCopy full SHA for c838e8a
dist/index.js
@@ -181,6 +181,7 @@ exports.LiveTranslatorPlugin = {
181
document.head.appendChild(style);
182
const visualize = () => {
183
const badges = document.querySelectorAll('.live-translator-badge');
184
+ console.log('clearing', badges.length, 'badges');
185
badges.forEach((badge) => {
186
badge.remove();
187
});
src/index.ts
@@ -201,6 +201,7 @@ export const LiveTranslatorPlugin = {
201
202
203
const badges = document.querySelectorAll('.live-translator-badge')
204
+ console.log('clearing', badges.length, 'badges')
205
206
badge.remove()
207
})
0 commit comments