jquery load (Optimiziation)

Hi,

the jquery framework will be loaded twice. Is this necessary ?

regards
Oliver

1 answer

Profile photo of JA Developer 0.00 $tone January 5, 2010
Public

Hi there

to fix this issue, please open app\design\frontend\default\defaulttemplate\jooml art\jmtabstabs.phtml file, find following code section:

Code:

<script type="text/javascript" src="<?php echo $this->getSkinUrl('joomlart/jmtabs/js/jquery.js') ?>"></script>

and change to:

Code:

<?php if(!defined('JM_ADD_JQUERY')){?>
<script type="text/javascript" src="<?php echo $this->getSkinUrl('joomlart/jmtabs/js/jquery.js') ?>"></script>
<?php  define('JM_ADD_JQUERY', true); ?>
<?php }?>
#1

This question is now closed

Written By

Comments