Blokiraj Enter Code button na payment page-u dok se validacija ne zavrsi #114

Merged
amirsabani303 merged 2 commits from demo-code-validation into master 2025-10-08 15:37:37 +02:00
Showing only changes of commit e3fc6cca00 - Show all commits

View File

@@ -68,6 +68,7 @@ document.addEventListener('DOMContentLoaded', function() {
return;
};
disableBtn();
status.innerHTML = `<svg class="animate-spin h-6 w-6 text-accent" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8v8z"></path>