From 541cefa1fae7babd1b9fa5301549d990cb5fab8b Mon Sep 17 00:00:00 2001 From: Fedir Zinchuk Date: Sun, 23 Jun 2019 18:00:11 +0200 Subject: [PATCH] Revert "Fix b/c break when enqueuing assets (#24848)" (#24858) This reverts commit 0e95df60e1462540ff06ac55e226859c85f4c013. --- libraries/src/Document/Renderer/Html/MetasRenderer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/src/Document/Renderer/Html/MetasRenderer.php b/libraries/src/Document/Renderer/Html/MetasRenderer.php index 0644366b4d8d7..50b18f83fcb08 100644 --- a/libraries/src/Document/Renderer/Html/MetasRenderer.php +++ b/libraries/src/Document/Renderer/Html/MetasRenderer.php @@ -49,14 +49,14 @@ public function render($head, $params = array(), $content = null) HTMLHelper::_('behavior.core'); } - // Trigger the onBeforeCompileHead event - $app = Factory::getApplication(); - $app->triggerEvent('onBeforeCompileHead'); - // Attach Assets $wa = $this->_doc->getWebAssetManager(); $wa->attachActiveAssetsToDocument($this->_doc); + // Trigger the onBeforeCompileHead event + $app = Factory::getApplication(); + $app->triggerEvent('onBeforeCompileHead'); + // Get line endings $lnEnd = $this->_doc->_getLineEnd(); $tab = $this->_doc->_getTab();