Skip to content

Commit

Permalink
Auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
walidmahade committed Apr 22, 2024
1 parent afdd5f4 commit 8291053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ $(function() {
// update price and links and rating
$offer_card.find(".price_text-total").text(item.total + " nok");
$offer_card.find(".continue_button").attr("href", item.link);
$offer_card.find(".average-price_text").text(Math.round(item.total / 24) + " nok/mo. for 24 mo");
$offer_card.find(".average-price_text").text(Math.round(item.total) + " nok/mo. for 24 mo");
// update rating number
const rating = 5 - i < 2 ? 2 : 5 - i;
$offer_card.find(".rating_text").text(rating + "/5");
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ $(function () {
// update price and links and rating
$offer_card.find(".price_text-total").text(item.total + " nok");
$offer_card.find(".continue_button").attr("href", item.link);
$offer_card.find(".average-price_text").text(Math.round(item.total / 24) + " nok/mo. for 24 mo");
$offer_card.find(".average-price_text").text(Math.round(item.total) + " nok/mo. for 24 mo");

// update rating number
const rating = 5 - i < 2 ? 2 : 5 - i;
Expand Down

0 comments on commit 8291053

Please sign in to comment.