Blokira Enter Code button na payment page-u dok se validacija ne zavrsi

This commit is contained in:
2025-10-08 15:36:25 +02:00
parent 393d39ef2e
commit e3fc6cca00

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>