Created
October 27, 2020 15:36
-
-
Save unlocomqx/cc95470e5553d9a467535193714b2b6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).on("load", function () { | |
dp_calc.subscribe(function (data) { | |
if (data && data.final_prices && data.final_prices.price_ht == 0) { | |
$(".price-error").fadeIn(); | |
} else { | |
$(".price-error").fadeOut(); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment