diff --git a/components/com_content/helpers/icon.php b/components/com_content/helpers/icon.php index 85bf39b4cf38c..7c5bf1402eb5c 100644 --- a/components/com_content/helpers/icon.php +++ b/components/com_content/helpers/icon.php @@ -73,7 +73,12 @@ public static function email($article, $params, $attribs = array(), $legacy = fa $link = $base . JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid, $article->language), false); $url = 'index.php?option=com_mailto&tmpl=component&template=' . $template . '&link=' . MailtoHelper::addLink($link); - $status = 'width=400,height=550,menubar=yes,resizable=yes'; + $status = 'width=400,height=350,menubar=yes,resizable=yes'; + + if (JFactory::getApplication()->get('captcha', 0) != 0) + { + $status = 'width=400,height=550,menubar=yes,resizable=yes'; + } $text = JLayoutHelper::render('joomla.content.icons.email', array('params' => $params, 'legacy' => $legacy));