Skip to content

Commit

Permalink
add 'version' => 'auto' too
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Aug 30, 2020
1 parent 44233e2 commit b59d054
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

// Import media
HTMLHelper::_('jquery.framework');
HTMLHelper::_('script', 'joomlarrssb/rrssb.min.js', ['relative' => true]);
HTMLHelper::_('stylesheet', 'joomlarrssb/rrssb.css', ['relative' => true]);
HTMLHelper::_('stylesheet', 'joomlarrssb/joomla.css', ['relative' => true]);
HTMLHelper::_('script', 'joomlarrssb/rrssb.min.js', ['version' => 'auto', 'relative' => true]);
HTMLHelper::_('stylesheet', 'joomlarrssb/rrssb.css', ['version' => 'auto', 'relative' => true]);
HTMLHelper::_('stylesheet', 'joomlarrssb/joomla.css', ['version' => 'auto', 'relative' => true]);

// Optional RTL support
if ($this->app->getDocument()->getDirection() == 'rtl')
{
HTMLHelper::_('stylesheet', 'joomlarrssb/joomla-rtl.css', ['relative' => true]);
HTMLHelper::_('stylesheet', 'joomlarrssb/joomla-rtl.css', ['version' => 'auto', 'relative' => true]);
}

// If the article has an image use it otherwise default is hardcoded to the card image used for Twitter
Expand Down

0 comments on commit b59d054

Please sign in to comment.