supscript wind direction

This commit is contained in:
Michael Teeuw 2016-05-11 18:01:34 +02:00
parent 212aef79aa
commit d364b04cad

View File

@ -125,7 +125,7 @@ Module.register("currentweather",{
small.appendChild(windSpeed); small.appendChild(windSpeed);
if (this.config.showWindDirection) { if (this.config.showWindDirection) {
var windDirection = document.createElement("span"); var windDirection = document.createElement("sup");
windDirection.innerHTML = " " + this.translate(this.windDirection); windDirection.innerHTML = " " + this.translate(this.windDirection);
small.appendChild(windDirection); small.appendChild(windDirection);
} }