X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fluci-base%2Fluasrc%2Fview%2Fcbi%2Fmvalue.htm;h=db17450d27f09409b2a239153aad46dbcaa71fc0;hb=ae7c6f48df6cfcad7dfc3274e0ead272c8d33cfc;hp=246ef43aad1c93b1b510808ed63fe8f4631a6c40;hpb=b5db545077b23042261a03e9145124b35d83bd6c;p=project%2Fluci.git
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 %>