Change "fa" to "fas" for Font Awesome 5 (#2649)

* main.js: fa -> fas for FA 5

* Update CHANGELOG and history
This commit is contained in:
iBug ♦
2020-08-15 03:21:38 +08:00
committed by GitHub
parent 5c8b220bf9
commit b7144931c7
5 changed files with 5 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ $(document).ready(function() {
var anchor = document.createElement("a");
anchor.className = 'header-link';
anchor.href = '#' + id;
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
anchor.title = "Permalink";
$(this).append(anchor);
}

File diff suppressed because one or more lines are too long