From b2d6180f9595234954e1c5bf52311eeaf5e6bf0e Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 24 Sep 2024 20:11:16 +0800 Subject: [PATCH] fix(client): dont set default value for routing port Fixes: #186 Fixes: e4c3a5b2196b ("chore(client): refine routing port settings") Signed-off-by: Tianling Shen --- htdocs/luci-static/resources/view/homeproxy/client.js | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/luci-static/resources/view/homeproxy/client.js b/htdocs/luci-static/resources/view/homeproxy/client.js index f47a7b44..156ea5bf 100644 --- a/htdocs/luci-static/resources/view/homeproxy/client.js +++ b/htdocs/luci-static/resources/view/homeproxy/client.js @@ -236,7 +236,6 @@ return view.extend({ _('Specify target ports to be proxied. Multiple ports must be separated by commas.')); o.value('', _('All ports')); o.value('common', _('Common ports only (bypass P2P traffic)')); - o.default = 'common'; o.validate = function(section_id, value) { if (section_id && value && value !== 'common') {