From 10af829094f4c26afa68dc415417e6605a4eaf27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Tue, 17 Sep 2024 15:25:24 +0300 Subject: [PATCH] Do not load obsolete FontAwesome and OpenSans files during askem load. --- assets/js/reactAndShareSettings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/reactAndShareSettings.js b/assets/js/reactAndShareSettings.js index a9d1297af..4d21322a6 100644 --- a/assets/js/reactAndShareSettings.js +++ b/assets/js/reactAndShareSettings.js @@ -4,7 +4,9 @@ var loadReactAndShare = function () { if (Drupal.eu_cookie_compliance.hasAgreed('statistics')) { window.rnsData = { - apiKey: drupalSettings.reactAndShareApiKey + apiKey: drupalSettings.reactAndShareApiKey, + disableFa: true, + disableFonts: true, }; if (drupalSettings.siteName !== undefined) {