fix removing unsubscribe button

pull/12/head
simon 3 years ago
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…
Cancel
Save