Update src/registrar/assets/js/uswds-edited.js

Co-authored-by: Rachid Mrad <107004823+rachidatecs@users.noreply.github.com>
This commit is contained in:
CuriousX 2024-10-10 21:35:04 -06:00 committed by GitHub
parent 2d88c340a7
commit d791960fd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5941,7 +5941,7 @@ const showToolTip = (tooltipBody, tooltipTrigger, position) => {
}; };
/* /*
DOTGOV: Tooltip postiioning logic updated to allow position:fixed DOTGOV: Tooltip positioning logic updated to allow position:fixed
*/ */
const tooltipStyle = window.getComputedStyle(tooltipBody); const tooltipStyle = window.getComputedStyle(tooltipBody);
const tooltipIsFixedPositioned = tooltipStyle.position === 'fixed'; const tooltipIsFixedPositioned = tooltipStyle.position === 'fixed';