Commit a8762451 by Kornkitt Poolsup

adjust tab color and badge pill of PM2.5 state

parent ba6901ba
......@@ -634,15 +634,15 @@
}
}).done(function (data) {
// mock data
data = JSON.stringify({
success: 1,
data: {
temperature: 37,
humidity: 72,
pm10dot0: 55,
pm2dot5: 87
}
});
// data = JSON.stringify({
// success: 1,
// data: {
// temperature: 37,
// humidity: 72,
// pm10dot0: 55,
// pm2dot5: 87
// }
// });
var obj = jQuery.parseJSON(data);
......
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