rssi fix, thanks kisesp

v0.9.0
Jeroen Domburg 10 years ago
parent c126d69e2b
commit a13d161ed9
  1. 2
      html/wifi/wifi.tpl

@ -11,7 +11,7 @@ function createInputForAp(ap) {
var div=document.createElement("div"); var div=document.createElement("div");
div.id="apdiv"; div.id="apdiv";
var rssi=document.createElement("div"); var rssi=document.createElement("div");
var rssiVal=-Math.floor(ap.rssi/5)*32; var rssiVal=-Math.floor(ap.rssi/51)*32;
rssi.className="icon"; rssi.className="icon";
rssi.style.backgroundPosition="0px "+rssiVal+"px"; rssi.style.backgroundPosition="0px "+rssiVal+"px";
var encrypt=document.createElement("div"); var encrypt=document.createElement("div");

Loading…
Cancel
Save