diff --git a/src/_h5ai/client/js/inc/ext/download.js b/src/_h5ai/client/js/inc/ext/download.js index cc9cd736..4a287f8e 100644 --- a/src/_h5ai/client/js/inc/ext/download.js +++ b/src/_h5ai/client/js/inc/ext/download.js @@ -73,10 +73,10 @@ modulejs.define('ext/download', ['_', '$', 'core/settings', 'core/resource', 'co var type = settings.type, extension = type === 'shell-zip' ? 'zip' : 'tar', - query = '?action=passArchive' - + '&as=' + encodeURIComponent((settings.packageName || location.getItem().label) + '.' + extension) - + '&type=' + type - + '&hrefs=' + encodeURIComponent(selectedHrefsStr), + query = '?action=passArchive' + + '&as=' + encodeURIComponent((settings.packageName || location.getItem().label) + '.' + extension) + + '&type=' + type + + '&hrefs=' + encodeURIComponent(selectedHrefsStr), $iframe = $('