diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 90ff86b75a9e..0e395cea20c1 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -511,7 +511,7 @@ var UITextarea = UIElement.extend(/** @lends LuCI.ui.Textarea.prototype */ { 'style': style, 'cols': this.options.cols, 'rows': this.options.rows, - 'wrap': this.options.wrap ? '' : null + 'wrap': this.options.wrap ? 'soft' : 'off' }, [ value ])); if (this.options.monospace)