mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
minor variable rename
This commit is contained in:
parent
8b4b4872c3
commit
ee6a43dd48
1 changed files with 4 additions and 4 deletions
|
@ -49,8 +49,8 @@ export class NameserverForm {
|
|||
hideElement(this.addNameserverButton);
|
||||
}
|
||||
|
||||
handleEditClick(e) {
|
||||
let editButton = e.target;
|
||||
handleEditClick(event) {
|
||||
let editButton = event.target;
|
||||
let readOnlyRow = editButton.closest('tr'); // Find the closest row
|
||||
let editRow = readOnlyRow.nextElementSibling; // Get the next row
|
||||
|
||||
|
@ -70,8 +70,8 @@ export class NameserverForm {
|
|||
showElement(editRow);
|
||||
}
|
||||
|
||||
handleCancelClick(e) {
|
||||
let cancelButton = e.target;
|
||||
handleCancelClick(event) {
|
||||
let cancelButton = event.target;
|
||||
let editRow = cancelButton.closest('tr'); // Find the closest row
|
||||
let readOnlyRow = editRow.previousElementSibling; // Get the next row
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue