Skip to content

Commit

Permalink
USF-1918: Sharepoint documents have a two-tier structure with English…
Browse files Browse the repository at this point in the history
… as the default

- do not localize modal css path
  • Loading branch information
anthoula committed Feb 11, 2025
1 parent e0943a7 commit 6efb16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/modal/modal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { loadCSS, buildBlock } from '../../scripts/aem.js';

export default async function createModal(contentNodes) {
await loadCSS('./blocks/modal/modal.css');
await loadCSS(`${window.hlx.codeBasePath}/blocks/modal/modal.css`);
const dialog = document.createElement('dialog');
dialog.setAttribute('tabindex', 1);
dialog.setAttribute('role', 'dialog');
Expand Down

0 comments on commit 6efb16f

Please sign in to comment.