File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/www/httpd/htdocs/js/modules Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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 ( ) + " %" )
You can’t perform that action at this time.
0 commit comments