From 609f5290c8d582def0a6334519f5e31aad19abde Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Fri, 28 Jun 2019 15:53:05 +0000 Subject: luci-base: nowrap for password input and reveal button Fixes openwrt/luci#2624 Signed-off-by: Yousong Zhou --- modules/luci-base/luasrc/view/cbi/cell_valueheader.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-base/luasrc/view/cbi/cell_valueheader.htm') diff --git a/modules/luci-base/luasrc/view/cbi/cell_valueheader.htm b/modules/luci-base/luasrc/view/cbi/cell_valueheader.htm index cb11d8f61a..4b70957543 100644 --- a/modules/luci-base/luasrc/view/cbi/cell_valueheader.htm +++ b/modules/luci-base/luasrc/view/cbi/cell_valueheader.htm @@ -3,7 +3,7 @@ local descr = luci.util.trim(striptags(self.description)) local ftype = self.typename or (self.template and self.template:gsub("^.+/", "")) -%> -
0, "data-type", ftype) .. ifattr(title and #title > 0, "data-title", title, true) .. -- cgit v1.2.3