Skip to content

Commit

Permalink
Use emojis instead of FontAwesome
Browse files Browse the repository at this point in the history
  • Loading branch information
jmperro committed Jun 17, 2021
1 parent ade027f commit 7d0f00c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

<script src="https://unpkg.com/[email protected]/dist/showdown.min.js" crossorigin="anonymous"></script>

<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>

<script>
var converter = new showdown.Converter();

Expand Down Expand Up @@ -71,10 +69,12 @@
$(chkList.checkItems).each(function (index, item) {
$datos.append('<div>');
if (item.state == 'complete') {
$datos.append('<i class="far fa-fw fa-check-square text-primary"></i> ' + item.name);
// $datos.append('<i class="far fa-fw fa-check-square text-primary"></i> ' + item.name);
$datos.append('&#x2705;&nbsp;' + item.name);
}
else {
$datos.append('<i class="far fa-fw fa-square text-primary"></i> ' + item.name);
// $datos.append('<i class="far fa-fw fa-square text-primary"></i> ' + item.name);
$datos.append('&#x274C;&nbsp;' + item.name);
}
$datos.append('</div>');
});
Expand Down

0 comments on commit 7d0f00c

Please sign in to comment.