split the uris by space or new line for new download
This commit is contained in:
parent
76299e6b1f
commit
6f300f9c09
|
@ -417,7 +417,7 @@ function addDownload(uris) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function newDownload() {
|
function newDownload() {
|
||||||
var urls = $('#newDownload_url').val().split('\n')
|
var urls = $('#newDownload_url').val().split(/\s+/)
|
||||||
.map(function(e) {
|
.map(function(e) {
|
||||||
return e.trim();
|
return e.trim();
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user