Skip to content

Commit 849e312

Browse files
author
Peter Anderson
committed
Updated to FA v5.0.4.
1 parent 7440a65 commit 849e312

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

font_awesome.install

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
*/
66

77
/**
8-
* Implements hook_update_N().
8+
* Update config.
99
*/
1010
function font_awesome_update_1100(&$sandbox) {
11-
// Update config.
1211
$config = config('font_awesome.settings');
1312
if ($config->get('enabled') == TRUE) {
1413
$config->set('fontawesome', 'v4');
@@ -21,10 +20,9 @@ function font_awesome_update_1100(&$sandbox) {
2120
}
2221

2322
/**
24-
* Implements hook_update_N().
23+
* Update variable name.
2524
*/
2625
function font_awesome_update_1001(&$sandbox) {
27-
// Update variable name.
2826
$config = config('font_awesome.settings');
2927
$config->set('enabled', $config->get('font_awesome_1'));
3028
$config->clear('font_awesome_1');

font_awesome.module

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function font_awesome_init() {
4242
backdrop_add_css('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', $options);
4343
break;
4444
case 'v5':
45-
backdrop_add_js('https://use.fontawesome.com/releases/v5.0.2/js/all.js', $options);
45+
backdrop_add_js('https://use.fontawesome.com/releases/v5.0.4/js/all.js', $options);
4646
break;
4747
}
4848
}

0 commit comments

Comments
 (0)