Skip to content

Commit

Permalink
Change position for call 'behavior.core'
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Aug 19, 2016
1 parent 1fc35e5 commit be7c703
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/joomla/document/renderer/html/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public function fetchHead($document)
$document->_metaTags['name']['tags'] = implode(', ', $tagsHelper->getTagNames($document->_metaTags['name']['tags']));
}

// Trigger the onBeforeCompileHead event
$app = JFactory::getApplication();
$app->triggerEvent('onBeforeCompileHead');

if ($document->getScriptOptions())
{
JHtml::_('behavior.core');
}

// Trigger the onBeforeCompileHead event
$app = JFactory::getApplication();
$app->triggerEvent('onBeforeCompileHead');

// Get line endings
$lnEnd = $document->_getLineEnd();
$tab = $document->_getTab();
Expand Down

0 comments on commit be7c703

Please sign in to comment.