Commit 997a50dd authored by Zvjezdana Knezevic's avatar Zvjezdana Knezevic
Browse files

new link CAQI, bug fix

parent a677deeb
......@@ -265,7 +265,7 @@
and measurements that are not equivalent to reference instrumentation.</p>
<h6><em><sup>*</sup>The index APIN shown might not be current, check the measured date at the bottom of the screen.</em></h6>
<a href="http://www.citeair.eu/fileadmin/Deliverables_and_documents/CITEAIR_II_CAQI_pubdraft1.pdf" target="_blank">CAQI Air quality Index</a>
<a href="http://www.airqualitynow.eu/download/CITEAIR-Comparing_Urban_Air_Quality_across_Borders.pdf" target="_blank">CAQI Air quality Index</a>
</div>
<span class="aqiColor first">Very low</span>
<span class="aqiColor second">Low</span>
......
......@@ -66,10 +66,13 @@ function addZero(i) {
function monthZero(a) {
if (a < 10) {
if (a < 9) {
a += 1;
a = "0" + a;
}
if (a >= 9) {
a +=1;
}
return a;
}
......
Supports Markdown
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