Ero sivun ”Widget:JwCurrentCharts” versioiden välillä
Järvi-meriwikistä
Rivi 600: | Rivi 600: | ||
iavg = ( icatsum/icatcount ); | iavg = ( icatsum/icatcount ); | ||
− | console.log( iavg ); | + | //console.log( iavg ); |
if ( iavg < 0.25 || memo.obsesA[0].data.cat == '5' ) { istr = 'Ei jäätä'; } | if ( iavg < 0.25 || memo.obsesA[0].data.cat == '5' ) { istr = 'Ei jäätä'; } | ||
Rivi 611: | Rivi 611: | ||
//tstr += '<br /><span>(' + tc.toString() + ' havaintoa)</span>'; | //tstr += '<br /><span>(' + tc.toString() + ' havaintoa)</span>'; | ||
//tstr += ' <span class="smaller">(n=' + tc.toString() + ')</span><br /><span>(viimeisin ' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | //tstr += ' <span class="smaller">(n=' + tc.toString() + ')</span><br /><span>(viimeisin ' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | ||
− | istr += '<br /><span class="smaller">(' | + | istr += '<br /><span class="smaller">(n=' + icount.toString() + ', viimeisin ' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; |
} | } | ||
} else { | } else { |