mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 10:46:06 +02:00
Fix nearestSpan not defined bug
This commit is contained in:
parent
67a8cf425d
commit
4df17d7de0
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ export function initCopyRequestSummary() {
|
||||||
buttonIcon.setAttribute('xlink:href', baseHref + '#check');
|
buttonIcon.setAttribute('xlink:href', baseHref + '#check');
|
||||||
|
|
||||||
// Change the button text
|
// Change the button text
|
||||||
nearestSpan = copyButton.querySelector("span")
|
let nearestSpan = copyButton.querySelector("span")
|
||||||
original_text = nearestSpan.innerText
|
original_text = nearestSpan.innerText
|
||||||
nearestSpan.innerText = "Copied to clipboard"
|
nearestSpan.innerText = "Copied to clipboard"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue