libs/cbi: fix error in previous commit
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 14 Oct 2009 00:02:38 +0000 (00:02 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 14 Oct 2009 00:02:38 +0000 (00:02 +0000)
libs/cbi/luasrc/view/cbi/full_valuefooter.htm

index bdf7d1bfdc9a054988736a2f783d24b26a50c84c..bdcd31484b118fcaeacaa3c036af2596351f37c0 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 
                <% if self.description and #self.description > 0 then -%>
-                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) or self.orientation ~= "horizontal" then -%>
+                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) or self.orientation == "horizontal" then -%>
                                <br />
                        <%- end %>
                        <div class="cbi-value-description">