Skip to content

Commit

Permalink
Revert "Fix b/c break when enqueuing assets (#24848)" (#24858)
Browse files Browse the repository at this point in the history
This reverts commit 0e95df6.
  • Loading branch information
Fedik authored and wilsonge committed Jun 23, 2019
1 parent d86bb6f commit 541cefa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/src/Document/Renderer/Html/MetasRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 541cefa

Please sign in to comment.