Commit 8af7d265 authored by Quan Nguyen's avatar Quan Nguyen

Update custom.js fix null price

parent 5d89988d
......@@ -140,7 +140,7 @@ for (i = 0; i < acc.length; i++) {
for (let i = 0; i < textPrice.length; i++) {
let price = textPrice.eq(i).text();
cost = price.split('').slice(0, 1).join("");
if (cost == "0") {
if (cost == "0" || cost == "" || cost == null) {
textPrice.eq(i).text("Liên hệ");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment