diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-11-04 16:41:20 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-11-04 16:41:20 +0000 |
commit | 5c515935eec07a2ca50d539da1c43bfceae5acc9 (patch) | |
tree | 547ab622e66098bbb96d1f00cd25b0b171179f57 /luci2 | |
parent | 7b9f16e917fc75f2b27b11bbf382246bf38873bf (diff) | |
download | luci2-ui-5c515935eec07a2ca50d539da1c43bfceae5acc9.tar.gz |
luci2: fix rendering of LuCI2.cbi.MultiValue
Diffstat (limited to 'luci2')
-rw-r--r-- | luci2/htdocs/luci2/luci2.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 98cd441..6481c0b 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -3902,16 +3902,13 @@ function LuCI2() for (var i = 0; i < this.choices.length; i++) { $('<label />') + .addClass('checkbox') .append($('<input />') - .addClass('cbi-input-checkbox') .attr('type', 'checkbox') .attr('value', this.choices[i][0]) .prop('checked', s[this.choices[i][0]])) .append(this.choices[i][1]) .appendTo(t); - - $('<br />') - .appendTo(t); } return t; |