Skip to content

Commit

Permalink
Auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
walidmahade committed Apr 23, 2024
1 parent 9638ebd commit ca02465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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) + " nok/mo. for 24 mo");
$offer_card.find(".average-price_text").text(Math.round(item.total) + " nok per m\xe5ned");
// update rating number
const rating = 5 - i < 2 ? 2 : 5 - i;
$offer_card.find(".rating_text").text(rating + "/5");
Expand All @@ -874,7 +874,6 @@ $(function() {
});
// show hide services
const $buttonServices = $(".button-services");
console.log("$buttonServices", $buttonServices);
$buttonServices.on("click", function() {
const $el = $(this);
const $services = $el.closest(".offer_card").find(".operator-details").first();
Expand Down

0 comments on commit ca02465

Please sign in to comment.