Skip to content

Commit

Permalink
MWPW-151588: fix geo modal is not closed on ESC
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantka committed Jun 10, 2024
1 parent ca8ba03 commit 8a99a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/features/georoutingv2/georoutingv2.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async function showModal(details) {
const promises = [
tabs ? loadBlock(tabs) : null,
tabs ? loadStyle(`${miloLibs || codeRoot}/blocks/section-metadata/section-metadata.css`) : null,
loadStyle(`${miloLibs || codeRoot}/features/georoutingv2/georoutingv2.css`),
new Promise((resolve) => { loadStyle(`${miloLibs || codeRoot}/features/georoutingv2/georoutingv2.css`, resolve); }),
];
await Promise.all(promises);
// eslint-disable-next-line import/no-cycle
Expand Down

0 comments on commit 8a99a84

Please sign in to comment.