summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-01-29 09:00:57 +0100
committerJo-Philipp Wich <jo@mein.io>2020-01-29 09:00:57 +0100
commitb8f65c340c42acda920298af4318784a79a0965c (patch)
tree5310149ac15f7c221e0b818631a1b3689814dccc
parentcab574958c580c38ca8dc852d8dada1681d62046 (diff)
luci-mod-system: fix zram compression placeholder
Fixes: #3583 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
index 8ac119b624..c2f31e7b4c 100644
--- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
+++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
@@ -187,7 +187,7 @@ return L.view.extend({
o = s.taboption('zram', form.ListValue, 'zram_comp_algo', _('ZRam Compression Algorithm'));
o.optional = true;
- o.placeholder = 'lzo';
+ o.default = 'lzo';
o.value('lzo', 'lzo');
o.value('lz4', 'lz4');
o.value('deflate', 'deflate');