Skip to content

Commit

Permalink
VACMS-12217: Wrapping <div> to make select all work from keyboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Burk committed Feb 20, 2023
1 parent c43ef9e commit a807978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"#cke_edit-field-supplemental-status-more-i-0-value iframe"
).contentDocument;
if (iframeDocument.body) {
iframeDocument.body.innerHTML =
drupalSettings.vamcCovidStatusTermText[statusId].description;
iframeDocument.body.innerHTML = `<div>${drupalSettings.vamcCovidStatusTermText[statusId].description}</div>`;
}
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if (document.querySelector("#cke_edit-field-supplemental-status-more-i-0-value iframe")) {
iframeDocument = document.querySelector("#cke_edit-field-supplemental-status-more-i-0-value iframe").contentDocument;
if (iframeDocument.body) {
iframeDocument.body.innerHTML = drupalSettings.vamcCovidStatusTermText[statusId].description;
iframeDocument.body.innerHTML = "<div>" + drupalSettings.vamcCovidStatusTermText[statusId].description + "</div>";
}
}
};
Expand Down

0 comments on commit a807978

Please sign in to comment.