Skip to content

Commit

Permalink
luci-base: Correct how textarea's wrap works
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mory <[email protected]>
  • Loading branch information
morytyann authored and systemcrash committed Jul 6, 2024
1 parent 23f1b97 commit d3bf675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/luci-base/htdocs/luci-static/resources/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d3bf675

Please sign in to comment.