diff --git a/core/misc/ajax.es6.js b/core/misc/ajax.es6.js index fea3c6c964..1dae116a80 100644 --- a/core/misc/ajax.es6.js +++ b/core/misc/ajax.es6.js @@ -1060,7 +1060,7 @@ * * @see https://www.drupal.org/node/2940704 */ - Drupal.theme.ajaxWrapperMultipleRootElements = ($elements) => ( + Drupal.theme.ajaxWrapperMultipleRootElements = $elements => ( $('
').append($elements) ); diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php index cbc73734f9..5d11ce49b4 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php @@ -2,6 +2,8 @@ namespace Drupal\FunctionalJavascriptTests\Ajax; +use Drupal\FunctionalJavascriptTests\WebDriverTestBase; + /** * Tests AJAX responses. *