summaryrefslogtreecommitdiffstatshomepage
path: root/core/misc/drupalSettingsLoader.es6.js
diff options
context:
space:
mode:
authorcatch <catch@35733.no-reply.drupal.org>2020-10-21 11:41:33 +0100
committercatch <catch@35733.no-reply.drupal.org>2020-10-21 11:41:33 +0100
commit89f6acb734e93d22468e25f59e0bf59ca2d8aaa5 (patch)
treed594c0079c7c557feb5fbcbb76c3a67eca744d8f /core/misc/drupalSettingsLoader.es6.js
parentda115f6ccffb6c9aeb368b56b8664332968a65e6 (diff)
downloaddrupal-89f6acb734e93d22468e25f59e0bf59ca2d8aaa5.tar.gz
drupal-89f6acb734e93d22468e25f59e0bf59ca2d8aaa5.zip
Issue #3174884 by raman.b, alexpott, lauriii, zrpnr, nod_: Update yarn dependencies for Drupal 9.1.0
Diffstat (limited to 'core/misc/drupalSettingsLoader.es6.js')
-rw-r--r--core/misc/drupalSettingsLoader.es6.js2
1 files changed, 1 insertions, 1 deletions
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"]',