From 0a6507d7606c6769f16bd32cb9252630d5bcffa8 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 246ef43aad..db17450d27 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.30.2