Skip to content

Commit f09f708

Browse files
author
Sebi Nemeth
committed
remove log
1 parent 20629dd commit f09f708

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

dist/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ const createBadge = (meta, options, node, attribute) => {
388388
badge.href = options.translationLink(meta);
389389
badge.target = 'popup';
390390
badge.addEventListener('click', (e) => {
391-
console.log('clicked', badge.href);
392391
window.open(badge.href, 'popup', 'width=600,height=600,scrollbars=no,resizable=no');
393392
e.preventDefault();
394393
return false;

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,6 @@ const createBadge = (meta: TranslationMeta, options: LiveTranslatorPluginOptions
446446
badge.href = options.translationLink(meta)
447447
badge.target = 'popup'
448448
badge.addEventListener('click', (e: Event) => {
449-
console.log('clicked', badge.href);
450-
451449
window.open(badge.href, 'popup', 'width=600,height=600,scrollbars=no,resizable=no')
452450
e.preventDefault()
453451
return false

0 commit comments

Comments
 (0)