mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-12-25 03:10:12 +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