🔥 remove console
This commit is contained in:
2
src-tauri/src/inject/event.js
vendored
2
src-tauri/src/inject/event.js
vendored
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user