Skip to content

Commit

Permalink
Update media.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Grammatikogianni committed Aug 29, 2017
1 parent 8995772 commit e65c4c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions layouts/joomla/form/field/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@
$src = JText::_('JLIB_FORM_MEDIA_PREVIEW_EMPTY');
}

if ($showAsTooltip) {
$showPreview = 'static';

if ($showAsTooltip)
{
$showPreview = 'tooltip';
} else {
$showPreview = 'static';
}
}

Expand Down

0 comments on commit e65c4c1

Please sign in to comment.