mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix ptgen.js
This commit is contained in:
Vendored
+2
-2
@@ -19,11 +19,11 @@ jQuery('.btn-get-pt-gen').on('click', function () {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
doInsert(response.data.format, '', false)
|
doInsert(response.data.format, '', false)
|
||||||
if (response.data.aka) {
|
if (response.data.aka && response.data.site === 'douban') {
|
||||||
form.find("input[name=small_descr]").val(response.data.aka.join("/"))
|
form.find("input[name=small_descr]").val(response.data.aka.join("/"))
|
||||||
}
|
}
|
||||||
if (response.data.imdb_link) {
|
if (response.data.imdb_link) {
|
||||||
form.find("input[name=url]").val(response.data.imdb_link)
|
form.find("input[data-pt-gen=url]").val(response.data.imdb_link)
|
||||||
}
|
}
|
||||||
}, 'json')
|
}, 'json')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user