mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-19 15:25:51 +00:00
fix removing unsubscribe button
This commit is contained in:
parent
0e4de95f97
commit
361d785e2e
@ -40,7 +40,7 @@ function isWatched(youtube_id) {
|
|||||||
function unsubscribe(channel_id) {
|
function unsubscribe(channel_id) {
|
||||||
var payload = JSON.stringify({'unsubscribe': channel_id});
|
var payload = JSON.stringify({'unsubscribe': channel_id});
|
||||||
sendPost(payload);
|
sendPost(payload);
|
||||||
document.getElementById('sub-' + channel_id).remove();
|
document.getElementById(channel_id).remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
// download page buttons
|
// download page buttons
|
||||||
|
Loading…
Reference in New Issue
Block a user