From b5e99ae0b4b9c0f6887c411bfe2111dedb1c3aa0 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 26 May 2026 13:02:08 +0300 Subject: [PATCH] luci-proto-yggdrasil: correctness fixes Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/protocol/yggdrasil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js b/protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js index 87cd7e9f1c..08a579b6c0 100644 --- a/protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js +++ b/protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js @@ -311,7 +311,7 @@ return network.registerProtocol('yggdrasil', form.HiddenValue, 'hidden_value', ' ', - _('%s is an independent project that aims to reduce latency of a connection over Yggdrasil network transparently, utilizing NAT traversal to bypass intermediary nodes.'.format('Yggdrasil Jumper')) + _('%s is an independent project that aims to reduce latency of a connection over Yggdrasil network transparently, utilizing NAT traversal to bypass intermediary nodes.').format('Yggdrasil Jumper') + ' ' + _('It periodically probes for active sessions and automatically establishes direct peerings over internet with remote nodes running Yggdrasil Jumper without requiring firewall or port configuration.') ); @@ -329,7 +329,7 @@ return network.registerProtocol('yggdrasil', // Unlock enable option if jumper is installed callIsJumperInstalled().then(function(isInstalled) { if (isInstalled) { - var o = s.children.find(function(o) { return o.option == "jumper_enable"; }); + var o = s.children.find(function(enableOpt) { return enableOpt.option == "jumper_enable"; }); o.readonly = false; // Explicit rerendering request isn't needed because the protocol tab // is constructed only after all async functions is done