diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/web/luasrc/view/cbi/nsection.htm | 2 | ||||
-rw-r--r-- | libs/web/luasrc/view/cbi/tsection.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/view/cbi/nsection.htm b/libs/web/luasrc/view/cbi/nsection.htm index e34e0f383..95e765882 100644 --- a/libs/web/luasrc/view/cbi/nsection.htm +++ b/libs/web/luasrc/view/cbi/nsection.htm @@ -12,7 +12,7 @@ </div> <%- end %> <%+cbi/tabmenu%> - <div class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>"> + <div class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>"> <%+cbi/ucisection%> </div> <br /> diff --git a/libs/web/luasrc/view/cbi/tsection.htm b/libs/web/luasrc/view/cbi/tsection.htm index 2aab1b56f..24f8e0400 100644 --- a/libs/web/luasrc/view/cbi/tsection.htm +++ b/libs/web/luasrc/view/cbi/tsection.htm @@ -18,7 +18,7 @@ <%+cbi/tabmenu%> - <fieldset class="cbi-section-node" id="cbi-<%=self.config%>-<%=section%>"> + <fieldset class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>"> <%+cbi/ucisection%> </fieldset> <br /> |