From: Patrick Grimm Date: Tue, 2 Jul 2013 23:17:16 +0000 (+0000) Subject: luci-olsr: fix typo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=624926911b7d58cec9cc6393afe755bcbff04fc5;p=project%2Fluci.git luci-olsr: fix typo --- diff --git a/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm b/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm index ab61fb5b4b..0fb9bc0a3c 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm @@ -74,35 +74,34 @@ end '' + '%s/%s', neigh.proto, neigh.dfgcolor, neigh.rip, neigh.rip, neigh.rmac - ); + ); } else { s += String.format( '' + '%s/%s', neigh.proto, neigh.dfgcolor, neigh.rip, neigh.rip, neigh.rmac - ); + ); } if (neigh.hn) { s += String.format( - '%s' + + '%s', neigh.dfgcolor, neigh.hn, neigh.hn - ); - } - else { + ); + } else { s += String.format( '?', neigh.dfgcolor - ); - } - s += String.format( - '%s/%s/%s' + - '%s' + - '%s' + - '%s' + - '%s' + - '', - neigh.dfgcolor, neigh.ifn, neigh.lip, neigh.lmac, neigh.dfgcolor, neigh.lq, neigh.dfgcolor, neigh.nlq, neigh.color, neigh.cost, neigh.color, neigh.signal, neigh.noise, neigh.snr || '?' ); + } + s += String.format( + '%s/%s/%s' + + '%s' + + '%s' + + '%s' + + '%s' + + '', + neigh.dfgcolor, neigh.ifn, neigh.lip, neigh.lmac, neigh.dfgcolor, neigh.lq, neigh.dfgcolor, neigh.nlq, neigh.color, neigh.cost, neigh.color, neigh.signal, neigh.noise, neigh.snr || '?' + ); } nt.innerHTML = s;