🔥 remove console
This commit is contained in:
4
src-tauri/src/inject/event.js
vendored
4
src-tauri/src/inject/event.js
vendored
@@ -139,7 +139,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
const detectAnchorElementClick = (e) => {
|
||||
const anchorElement = e.target.closest('a');
|
||||
console.log(">>>>>>>>>",anchorElement);
|
||||
if (anchorElement && anchorElement.href) {
|
||||
const target = anchorElement.target;
|
||||
anchorElement.target = '_self';
|
||||
@@ -281,10 +280,9 @@ function detectDownloadByCreateAnchor() {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
return anchorClick.bind(anchorEle);
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user