mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 11:40:13 +00:00
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
Block a user