handle button error
This commit is contained in:
parent
87ef597116
commit
1306dbd6fa
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue