Update: plugin source code files
This commit is contained in:
@@ -128,14 +128,14 @@
|
||||
});
|
||||
|
||||
const reload_list = async () => {
|
||||
const { data } = await post_ajax('/list');
|
||||
const { data } = await post_ajax('/basic/list');
|
||||
list_tbody.innerHTML = data.map((item) => make_item(item)).join('');
|
||||
};
|
||||
|
||||
// 전체 중지
|
||||
all_stop_btn.addEventListener('click', (event) => {
|
||||
event.preventDefault();
|
||||
post_ajax('/all_stop').then(reload_list);
|
||||
post_ajax('/basic/all_stop').then(reload_list);
|
||||
});
|
||||
|
||||
// 중지
|
||||
@@ -145,7 +145,7 @@
|
||||
if (!target.classList.contains('youtubeDl-stop')) {
|
||||
return;
|
||||
}
|
||||
post_ajax('/stop', {
|
||||
post_ajax('/basic/stop', {
|
||||
index: target.dataset.index,
|
||||
}).then(reload_list);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user