update: ...........

This commit is contained in:
2026-03-19 01:14:17 +04:00
parent e62b60e0fd
commit df638c94f1
2 changed files with 24 additions and 3 deletions
+7 -1
View File
@@ -298,8 +298,14 @@
} else if (status === 'confirming') {
document.getElementById('pay-status').innerHTML = `
<span class="w-2 h-2 rounded-full bg-blue-500 animate-pulse"></span>
<span class="text-blue-400">Transaction detected, waiting for confirmation...</span>
<span class="text-blue-400">Transaction received, waiting for 1 confirmation...</span>
`;
// Replace QR with loading spinner
document.getElementById('pay-qr').replaceWith(Object.assign(document.createElement('div'), {
id: 'pay-qr',
className: 'w-48 h-48 mx-auto rounded-lg bg-gray-800 flex items-center justify-center',
innerHTML: '<svg class="w-10 h-10 text-blue-500 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"/></svg>',
}));
syncTxids(data);
} else if (status === 'paid') {
clearInterval(pollInterval);