Skip to content

Commit

Permalink
Update FA to 5.1.1 (#6049)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshcli authored and 810 committed Jul 18, 2018
1 parent 186a224 commit 604d1a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function displayEdit()

if (KunenaFactory::getTemplate()->params->get('fontawesome'))
{
Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true));
Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true));
}

// Make the select list for the moderator flag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function displayDefault()

if (KunenaFactory::getTemplate()->params->get('fontawesome'))
{
Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true));
Factory::getDocument()->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true));
}

$this->display();
Expand Down
4 changes: 2 additions & 2 deletions src/components/com_kunena/template/crypsis/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public function initialize()

if ($fontawesome)
{
$doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/v4-shims.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/v4-shims.js', array(), array('defer' => true));
}

// Load template colors settings
Expand Down
4 changes: 2 additions & 2 deletions src/components/com_kunena/template/crypsisb3/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function initialize()
if ($fontawesome)
{
/** @noinspection PhpDeprecationInspection */
$doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/all.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.0/js/v4-shims.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/all.js', array(), array('defer' => true));
$doc->addScript('https://use.fontawesome.com/releases/v5.1.1/js/v4-shims.js', array(), array('defer' => true));
}

$icons = $this->ktemplate->params->get('icons');
Expand Down

0 comments on commit 604d1a8

Please sign in to comment.