From 89f6acb734e93d22468e25f59e0bf59ca2d8aaa5 Mon Sep 17 00:00:00 2001 From: catch Date: Wed, 21 Oct 2020 11:41:33 +0100 Subject: Issue #3174884 by raman.b, alexpott, lauriii, zrpnr, nod_: Update yarn dependencies for Drupal 9.1.0 --- core/misc/drupalSettingsLoader.es6.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/misc/drupalSettingsLoader.es6.js') diff --git a/core/misc/drupalSettingsLoader.es6.js b/core/misc/drupalSettingsLoader.es6.js index 63494d9c1f33..6cc4be9f41e0 100644 --- a/core/misc/drupalSettingsLoader.es6.js +++ b/core/misc/drupalSettingsLoader.es6.js @@ -3,7 +3,7 @@ * Parse inline JSON and initialize the drupalSettings global object. */ -(function() { +(function () { // Use direct child elements to harden against XSS exploits when CSP is on. const settingsElement = document.querySelector( 'head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]', -- cgit v1.2.3