diff options
author | catch <catch@35733.no-reply.drupal.org> | 2021-05-17 21:30:23 +0100 |
---|---|---|
committer | catch <catch@35733.no-reply.drupal.org> | 2021-05-17 21:30:23 +0100 |
commit | 8db131bd38cfea6d709f1d90b8e387bfb27e8bb5 (patch) | |
tree | fc83863088249f1779e4917e7831816cffd31332 /core/modules/quickedit/js/quickedit.es6.js | |
parent | 1c94be4a7b3bccca87f4580486df3ee9da0b3344 (diff) | |
download | drupal-8db131bd38cfea6d709f1d90b8e387bfb27e8bb5.tar.gz drupal-8db131bd38cfea6d709f1d90b8e387bfb27e8bb5.zip |
Issue #3214412 by bnjmnm, tedbow: Build + prettier not run after yarn dependency update 3210633
Diffstat (limited to 'core/modules/quickedit/js/quickedit.es6.js')
-rw-r--r-- | core/modules/quickedit/js/quickedit.es6.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/modules/quickedit/js/quickedit.es6.js b/core/modules/quickedit/js/quickedit.es6.js index 0fd0fded221f..1a4f65f2a9bd 100644 --- a/core/modules/quickedit/js/quickedit.es6.js +++ b/core/modules/quickedit/js/quickedit.es6.js @@ -68,8 +68,10 @@ * This document's body element. */ function initQuickEdit(bodyElement) { - Drupal.quickedit.collections.entities = new Drupal.quickedit.EntityCollection(); - Drupal.quickedit.collections.fields = new Drupal.quickedit.FieldCollection(); + Drupal.quickedit.collections.entities = + new Drupal.quickedit.EntityCollection(); + Drupal.quickedit.collections.fields = + new Drupal.quickedit.FieldCollection(); // Instantiate AppModel (application state) and AppView, which is the // controller of the whole in-place editing experience. @@ -701,9 +703,8 @@ // Clear the Quick Edit metadata cache whenever the current user's set of // permissions changes. - const permissionsHashKey = Drupal.quickedit.metadata._prefixFieldID( - 'permissionsHash', - ); + const permissionsHashKey = + Drupal.quickedit.metadata._prefixFieldID('permissionsHash'); const permissionsHashValue = storage.getItem(permissionsHashKey); const permissionsHash = drupalSettings.user.permissionsHash; if (permissionsHashValue !== permissionsHash) { |