diff --git a/core/modules/node/lib/Drupal/node/NodeFormController.php b/core/modules/node/lib/Drupal/node/NodeFormController.php index ea854b2..2165427 100644 --- a/core/modules/node/lib/Drupal/node/NodeFormController.php +++ b/core/modules/node/lib/Drupal/node/NodeFormController.php @@ -265,7 +265,7 @@ public function form(array $form, array &$form_state, EntityInterface $node) { '#type' => 'container', '#attributes' => array( // Hide this container if Javascript is disabled. - 'style' => array('display:none;'), + 'class' => array('element-hidden'), ), '#states' => array( // Only show this container when the 'status' checkbox is enabled.