mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +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) {
|
||||
var payload = JSON.stringify({'unsubscribe': channel_id});
|
||||
sendPost(payload);
|
||||
document.getElementById('sub-' + channel_id).remove();
|
||||
document.getElementById(channel_id).remove();
|
||||
}
|
||||
|
||||
// download page buttons
|
||||
|
Loading…
Reference in New Issue
Block a user