summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs
diff options
context:
space:
mode:
authorTomáš Hnyk <tomashnyk@gmail.com>2023-12-04 12:02:03 +0100
committerGitHub <noreply@github.com>2023-12-04 12:02:03 +0100
commitd9a83dfa5639ee3a8a3fc6af2d0640e443bb930b (patch)
treefb59ab099a9386b5225367ea913758b737d664e4 /modules/luci-mod-network/htdocs
parentd179d789e5f0542fd17eb2fd591909754c200d86 (diff)
luci-mod-network: Update wireless.js to clarify Distance Optimization
Fixes #2784 Right now, it is not clear that users in indoor settings should stay clear off this setting and people struggle with it as evidenced in the linked issue. Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
index 4c2daf588a..80ab426a0e 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
@@ -950,7 +950,7 @@ return view.extend({
o.value('2', _('High'));
o.value('3', _('Very High'));
- o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters.'));
+ o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters. Set only for distances above one kilometer; otherwise it is harmful.'));
o.datatype = 'or(range(0,114750),"auto")';
o.placeholder = 'auto';