Skip to content

Commit 43b3c9a

Browse files
committed
Update X-Downloader.user.js
1 parent d64b638 commit 43b3c9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

X-Downloader/X-Downloader.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@
8989
downloadBtn.style.opacity = 1;
9090
});
9191
downloadBtn.addEventListener("mouseleave", () => {
92-
downloadBtn.style.opacity = 0.1;
92+
setTimeout(() => {
93+
downloadBtn.style.opacity = 0.1;
94+
}, 100);
9395
});
9496
async function downloadByFetch(imageUrl, filename) {
9597
try {

0 commit comments

Comments
 (0)