mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +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);
|
hideElement(this.addNameserverButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleEditClick(e) {
|
handleEditClick(event) {
|
||||||
let editButton = e.target;
|
let editButton = event.target;
|
||||||
let readOnlyRow = editButton.closest('tr'); // Find the closest row
|
let readOnlyRow = editButton.closest('tr'); // Find the closest row
|
||||||
let editRow = readOnlyRow.nextElementSibling; // Get the next row
|
let editRow = readOnlyRow.nextElementSibling; // Get the next row
|
||||||
|
|
||||||
|
@ -70,8 +70,8 @@ export class NameserverForm {
|
||||||
showElement(editRow);
|
showElement(editRow);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleCancelClick(e) {
|
handleCancelClick(event) {
|
||||||
let cancelButton = e.target;
|
let cancelButton = event.target;
|
||||||
let editRow = cancelButton.closest('tr'); // Find the closest row
|
let editRow = cancelButton.closest('tr'); // Find the closest row
|
||||||
let readOnlyRow = editRow.previousElementSibling; // Get the next row
|
let readOnlyRow = editRow.previousElementSibling; // Get the next row
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue