Merge pull request #7742 from mfo/US/fix-dsfr-ie11
feat(DSFR.ie11): enable legacy mode with our own packaging system
This commit is contained in:
commit
aa7a25712f
3 changed files with 9 additions and 2 deletions
|
@ -65,5 +65,12 @@ Turbo.session.drive = false;
|
|||
// Expose globals
|
||||
window.DS = window.DS || DS;
|
||||
|
||||
// enable legacy mode of DSFR when vite is not detectde as modern browser
|
||||
window.addEventListener('load', function () {
|
||||
if (!window.__vite_is_modern_browser) {
|
||||
window.dsfr.internals.legacy.setLegacy();
|
||||
}
|
||||
});
|
||||
|
||||
import('../shared/track/matomo');
|
||||
import('../shared/track/sentry');
|
||||
|
|
|
@ -281,7 +281,7 @@ en:
|
|||
check_france_connect_html: Have you once logged in with France Connect? If yes, <a href=\"%{href}\">try again with France Connect</a>.
|
||||
shared:
|
||||
email_can_take_a_while_html: <strong>Please note</strong> that this message can take up to 15 minutes to arrive.
|
||||
contact_us_if_any_trouble_html: You can contact us <a href=\"%{href}\">through this form</a> if a problem still exists.
|
||||
contact_us_if_any_trouble_html: 'You can contact us <a href="%{href}">through this form</a> if a problem still exists.'
|
||||
modal:
|
||||
publish:
|
||||
title:
|
||||
|
|
|
@ -279,7 +279,7 @@ fr:
|
|||
title: "Lien de réinitialisation du mot de passe envoyé"
|
||||
shared:
|
||||
email_can_take_a_while_html: "<strong>Attention</strong>, ce message peut mettre jusqu’à <strong>15 minutes</strong> pour arriver."
|
||||
contact_us_if_any_trouble_html: "En cas de difficultés, nous restons joignables <a href=\"%{href}\">via ce formulaire</a>."
|
||||
contact_us_if_any_trouble_html: 'En cas de difficultés, nous restons joignables <a href="%{href}">via ce formulaire</a>.'
|
||||
modal:
|
||||
publish:
|
||||
title:
|
||||
|
|
Loading…
Reference in a new issue