mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
Darken zap dialog and add send control
This commit is contained in:
1 parent
0fd54abde8
commit
8fd5ce3c88
6 files changed
+157
-52
No files matched your search
@@ -857,7 +857,7 @@ export class VideoModal {
|
||||
|
||||
if (pending) {
|
||||
this.modalZapSendBtn.dataset.retryPending = "true";
|
||||
this.modalZapSendBtn.textContent = "Retry zap";
|
||||
this.modalZapSendBtn.textContent = "Retry";
|
||||
this.modalZapSendBtn.setAttribute(
|
||||
"aria-label",
|
||||
"Retry failed zap shares"
|
||||
@@ -867,7 +867,7 @@ export class VideoModal {
|
||||
}
|
||||
} else {
|
||||
delete this.modalZapSendBtn.dataset.retryPending;
|
||||
this.modalZapSendBtn.textContent = "Send zap";
|
||||
this.modalZapSendBtn.textContent = "Send";
|
||||
this.modalZapSendBtn.setAttribute("aria-label", "Send a zap");
|
||||
this.modalZapSendBtn.removeAttribute("title");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user