diff --git a/templates/user_accounts.html b/templates/user_accounts.html index 6e9fe76..7e41035 100644 --- a/templates/user_accounts.html +++ b/templates/user_accounts.html @@ -48,7 +48,7 @@ {{ account.expiaryDate_rendered }} {{ account.password }} - @@ -94,7 +94,7 @@ }); }); - $('.btn-validate').on('click', function() { + $('#accountsTable tbody').on('click', '.btn-validate', function() { var button = $(this); var spinner = button.find('.spinner-border'); var buttonText = button.find('.button-text');