Skip to content

Commit a012616

Browse files
committed
[Fix] Wi-Fi strength #42
Changes to be committed: modified: src/www/httpd/htdocs/js/modules/status.js
1 parent 54c30ea commit a012616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/www/httpd/htdocs/js/modules/status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ APP.status = (function ($) {
4444
$('#wlan_essid').html(data.wlan_essid + "<input class=\"button-primary\" type=\"button\" id=\"button-wifi-edit\" value=\"Edit\" style=\"margin-left:40px;\" onclick=\"window.location.href='?page=wifi'\"/>");
4545
$('#uptime').text(String.format("%t", parseInt(data.uptime)));
4646
$('#memory').text("" + data.free_memory + "/" + data.total_memory + " KB");
47-
wifiStrength = parseInt((parseInt(data.wlan_strength) * 100) / 70);
47+
wifiStrength = parseInt(data.wlan_strength);
4848
if (wifiStrength >= 80) {
4949
$('#wlan_strength').attr("src","images/wlan_strong_signal.png")
5050
$('#wlan_strength_percent').text(" " + wifiStrength.toString() + " %")

0 commit comments

Comments
 (0)