applications/luci-olsr: Fix rowstyle, make html valid
[project/luci.git] / applications / luci-olsr / luasrc / view / status-olsr / hna.htm
index 9e29edf64f921faa41915d27766982025c001dd7..bde1f009b54b50f71389664a76fb8df9787d2d2c 100644 (file)
@@ -41,7 +41,7 @@ local i = 1
                        </td>
                </tr>
 
-               <% if i == 1 then i = 0 elseif i == 0 then i = 1 end
+               <% i = ((i % 2) + 1)
                end %>
        </table>
 </fieldset>