Skip to content

Commit c838e8a

Browse files
author
Sebi Nemeth
committed
debug
1 parent 527a418 commit c838e8a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ exports.LiveTranslatorPlugin = {
181181
document.head.appendChild(style);
182182
const visualize = () => {
183183
const badges = document.querySelectorAll('.live-translator-badge');
184+
console.log('clearing', badges.length, 'badges');
184185
badges.forEach((badge) => {
185186
badge.remove();
186187
});

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ export const LiveTranslatorPlugin = {
201201

202202
const visualize = () => {
203203
const badges = document.querySelectorAll('.live-translator-badge')
204+
console.log('clearing', badges.length, 'badges')
204205
badges.forEach((badge) => {
205206
badge.remove()
206207
})

0 commit comments

Comments
 (0)