Commit a8762451 by Kornkitt Poolsup

adjust tab color and badge pill of PM2.5 state

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