Hi
This doesn't have anything with Corporate2 files.
This is exclusively from K2 component.
Anyway, if you want to fix it you can open the following file ../components/com_k2/js/k2.js
replace this lines:
- Code: Select all
// Text Resizer
if($('fontDecrease')) {
$('fontDecrease').addEvent('click', function(e){
new Event(e).stop();
$$('.itemFullText').removeClass('largerFontSize');
$$('.itemFullText').addClass('smallerFontSize');
});
}
if($('fontIncrease')) {
$('fontIncrease').addEvent('click', function(e){
new Event(e).stop();
$$('.itemFullText').removeClass('smallerFontSize');
$$('.itemFullText').addClass('largerFontSize');
});
}
with
- Code: Select all
// Text Resizer
if($('fontDecrease')) {
$('fontDecrease').addEvent('click', function(e){
new Event(e).stop();
$$('.itemFullText').removeClass('largerFontSize');
$$('.itemFullText').addClass('smallerFontSize');
$$('.itemIntroText').removeClass('largerFontSize');
$$('.itemIntroText').addClass('smallerFontSize');
});
}
if($('fontIncrease')) {
$('fontIncrease').addEvent('click', function(e){
new Event(e).stop();
$$('.itemFullText').removeClass('smallerFontSize');
$$('.itemFullText').addClass('largerFontSize');
$$('.itemIntroText').removeClass('smallerFontSize');
$$('.itemIntroText').addClass('largerFontSize');
});
}
Again, this is done directly on K2 js files, so if you update K2 in future release you need to change it again, except if K2 team considerate to include it.
Cheers