From 91bf79aa2518203f2f114b7ef7db78daba853c48 Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Fri, 31 May 2024 12:48:16 -0400 Subject: [PATCH] updated comments in uswds-edited.js --- src/registrar/assets/js/uswds-edited.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/registrar/assets/js/uswds-edited.js b/src/registrar/assets/js/uswds-edited.js index 41c11681b..e73f3b6c0 100644 --- a/src/registrar/assets/js/uswds-edited.js +++ b/src/registrar/assets/js/uswds-edited.js @@ -22,6 +22,13 @@ * https://developer.mozilla.org/en-US/docs/Web/API/Element/classList */ +/** + * Edits made for dotgov project: + * - tooltip exposed to window to be accessible in other js files + * - modal exposed to window to be accessible in other js files + * - fixed bug in createHeaderButton which added newlines to header button tooltips + */ + if ("document" in window.self) { // Full polyfill for browsers with no classList support // Including IE < Edge missing SVGElement.classList