Skip to content

Commit 89e3650

Browse files
fzlinsRhilip
authored andcommitted
fix(BLU): BLU 种子详情页工具栏一键下载功能出错 pt-plugins#1418
1 parent dfb6fe4 commit 89e3650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource/schemas/UNIT3D/details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
getDownloadURL() {
2020
let url = PTService.getFieldValue("downloadURL");
2121
if (!url) {
22-
let query = $("a.btn[href*='/download/']");
22+
let query = $("a[href*='/download/']:first");
2323
if (query.length == 0) {
2424
query = $("a[href*='/download_check/']");
2525
if (query.length > 0) {

0 commit comments

Comments
 (0)