Skip to content

Commit

Permalink
update add j40 class to body support load css
Browse files Browse the repository at this point in the history
  • Loading branch information
kienduongbk committed Apr 12, 2022
1 parent 402e237 commit 18a8fff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/plg_system_t3/includes/core/template.php
Expand Up @@ -564,6 +564,9 @@ function bodyClass()
}

$this->_pageclass[] = 'j' . str_replace('.', '', (number_format((float)JVERSION, 1, '.', '')));
if(version_compare(JVERSION,'4','ge')){
$this->_pageclass[] = 'j40';
}
$this->_pageclass = array_unique($this->_pageclass);

JFactory::getApplication()->triggerEvent('onT3BodyClass', array(&$this->_pageclass));
Expand Down

0 comments on commit 18a8fff

Please sign in to comment.