From ae7c6f48df6cfcad7dfc3274e0ead272c8d33cfc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 26 Jan 2017 00:07:26 +0100 Subject: [PATCH] luci-base: mvalue: fix column wrapping Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/mvalue.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/luasrc/view/cbi/mvalue.htm b/modules/luci-base/luasrc/view/cbi/mvalue.htm index 246ef43aa..db17450d2 100644 --- a/modules/luci-base/luasrc/view/cbi/mvalue.htm +++ b/modules/luci-base/luasrc/view/cbi/mvalue.htm @@ -36,7 +36,7 @@ > <%=pcdata(self.vallist[i])%> - <% if i == self.size then write('
') end %> + <% if self.size and (i % self.size) == 0 then write('
') end %> <% end %> <% end %> -- 2.25.1