Skip to content
Snippets Groups Projects
Commit 5b4a53f0 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #775 from kurund/CRM-12631

don't show navigation menu on joomla front-end, worked on CRM-12631
parents 6caebdf7 4ce6105a
Branches
Tags
No related merge requests found
......@@ -132,7 +132,7 @@ cj(function( ) {
if ( cj('#edit-shortcuts').length > 0 ) {
cj('#civicrm-menu').css({ 'width': '97%' });
}
{/literal}{else}{* Special menu hacks for Joomla *}{literal}
{/literal}{elseif $config->userFrameworkFrontend ne 1}{* Special menu hacks for Joomla *}{literal}
// below div is present in older version of joomla 2.5.x
var elementExists = cj('div#toolbar-box div.m').length;
if ( elementExists > 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment