Skip to content

Commit

Permalink
Do not load obsolete FontAwesome and OpenSans files during askem load.
Browse files Browse the repository at this point in the history
  • Loading branch information
khalima committed Sep 17, 2024
1 parent 9e9b0e9 commit 10af829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/reactAndShareSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 10af829

Please sign in to comment.