Fix zendriver daemon robustness and switch to FF_3.10 environment
This commit is contained in:
@@ -316,15 +316,12 @@
|
||||
|
||||
$("body").on('click', '#check_download_btn', function (e) {
|
||||
e.preventDefault();
|
||||
all = $('input[id^="checkbox_"]');
|
||||
let data = [];
|
||||
let idx;
|
||||
for (let i in all) {
|
||||
if (all[i].checked) {
|
||||
idx = parseInt(all[i].id.split('_')[1])
|
||||
$('input[id^="checkbox_"]').each(function() {
|
||||
if ($(this).prop('checked')) {
|
||||
idx = parseInt($(this).attr('id').split('_')[1])
|
||||
data.push(current_data.episode[idx]);
|
||||
}
|
||||
}
|
||||
});
|
||||
if (data.length == 0) {
|
||||
$.notify('<strong>선택하세요.</strong>', {type: 'warning'});
|
||||
return;
|
||||
@@ -343,15 +340,12 @@
|
||||
|
||||
$("body").on('click', '#down_subtitle_btn', function (e) {
|
||||
e.preventDefault();
|
||||
all = $('input[id^="checkbox_"]');
|
||||
let data = [];
|
||||
let idx;
|
||||
for (let i in all) {
|
||||
if (all[i].checked) {
|
||||
idx = parseInt(all[i].id.split('_')[1])
|
||||
$('input[id^="checkbox_"]').each(function() {
|
||||
if ($(this).prop('checked')) {
|
||||
idx = parseInt($(this).attr('id').split('_')[1]);
|
||||
data.push(current_data.episode[idx]);
|
||||
}
|
||||
}
|
||||
});
|
||||
if (data.length == 0) {
|
||||
$.notify('<strong>선택하세요.</strong>', {type: 'warning'});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user