summaryrefslogtreecommitdiffstats
path: root/core/modules/edit/lib/Drupal/edit/EditController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/edit/lib/Drupal/edit/EditController.php')
-rw-r--r--core/modules/edit/lib/Drupal/edit/EditController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/edit/lib/Drupal/edit/EditController.php b/core/modules/edit/lib/Drupal/edit/EditController.php
index 4621f94..1e62ab6 100644
--- a/core/modules/edit/lib/Drupal/edit/EditController.php
+++ b/core/modules/edit/lib/Drupal/edit/EditController.php
@@ -275,8 +275,8 @@ class EditController implements ContainerInjectionInterface {
// When working with a hidden form, we don't want any CSS or JS to be loaded.
if ($request->request->get('nocssjs') === 'true') {
- drupal_static_reset('drupal_add_css');
- drupal_static_reset('drupal_add_js');
+ drupal_static_reset('_drupal_add_css');
+ drupal_static_reset('_drupal_add_js');
}
return $response;