Skip to content

Commit

Permalink
fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sacjoshi committed Jun 23, 2024
1 parent 286bacd commit 58af022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jpg-to-pdf-converter.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,15 @@ <h3 class="box-title">What is PDF Format?</h3>
};

const showPDF = (context) => {
$("#target").html("<i class='fa fa-refresh fa-done'></i> <p>Conversion Completed</p>");
$("#target").html("<i class='fa fa-check fa-done'> Conversion Completed</i>");
$('#download').attr('download', context.filename);
$('#download').attr('href', context.url);
$('#download-div').show();
};

const showInProgress = () => {
$('#error').text('');
$("#target").html("<i class='fa fa-refresh fa-spin'></i> <p>Converting...</p>");
$("#target").html("<i class='fa fa-refresh fa-spin'> Converting...</i>");
$('#download-div').hide();
};

Expand Down

0 comments on commit 58af022

Please sign in to comment.