mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-24 06:20:07 +01:00
Semantics.
This commit is contained in:
parent
694ababf15
commit
ec5220a5f9
@ -46,7 +46,7 @@ modulejs.define('ext/download', ['_', '$', 'core/settings', 'core/resource', 'co
|
||||
var type = settings.type,
|
||||
extension = (type === 'shell-zip') ? 'zip' : 'tar',
|
||||
query = {
|
||||
action: 'passArchive',
|
||||
action: 'download',
|
||||
as: (settings.packageName || location.getItem().label) + '.' + extension,
|
||||
type: type,
|
||||
hrefs: selectedHrefsStr
|
||||
|
@ -100,7 +100,7 @@ class Api {
|
||||
}
|
||||
|
||||
|
||||
else if ($action === "passArchive") {
|
||||
else if ($action === "download") {
|
||||
|
||||
json_fail(1, "downloads disabled", !$options["download"]["enabled"]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user