mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 11:40:13 +00:00
set unsubscribe inner text after subscribe
This commit is contained in:
parent
7c47c980f3
commit
ef89daf1a1
@ -433,7 +433,7 @@ function buttonSuccess(button) {
|
||||
if (buttonSpan.innerHTML === 'Subscribe') {
|
||||
buttonSpan.innerHTML = 'Success';
|
||||
setTimeout(() => {
|
||||
buttonSpan.innerHTML = 'Subscribe';
|
||||
buttonSpan.innerHTML = 'Unsubscribe';
|
||||
}, 2000);
|
||||
} else {
|
||||
buttonSpan.innerHTML = checkmarkIcon;
|
||||
|
Loading…
Reference in New Issue
Block a user