handle button error

This commit is contained in:
Simon 2023-08-26 20:14:27 +07:00
parent 87ef597116
commit 1306dbd6fa
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -250,6 +250,8 @@ function checkChannelSubscribed(channelSubButton) {
}
}
function handleError() {
buttonError(channelSubButton);
channelSubButton.innerText = 'Error';
console.log('error');
}
@ -393,6 +395,7 @@ function checkVideoExists(taButton) {
taButton.isChecked = true;
}
function handleError() {
buttonError(taButton);
console.log('error');
}