🔥 remove console

This commit is contained in:
Tw93
2023-06-07 19:13:13 +08:00
parent fda366c6fa
commit 4bc12a7bf3

View File

@@ -139,7 +139,6 @@ document.addEventListener('DOMContentLoaded', () => {
const detectAnchorElementClick = (e) => { const detectAnchorElementClick = (e) => {
const anchorElement = e.target.closest('a'); const anchorElement = e.target.closest('a');
console.log(">>>>>>>>>",anchorElement);
if (anchorElement && anchorElement.href) { if (anchorElement && anchorElement.href) {
const target = anchorElement.target; const target = anchorElement.target;
anchorElement.target = '_self'; anchorElement.target = '_self';
@@ -281,7 +280,6 @@ function detectDownloadByCreateAnchor() {
}); });
}); });
} }
return anchorClick.bind(anchorEle); return anchorClick.bind(anchorEle);
} }
} }