setting.js: fix bug
This commit is contained in:
@@ -195,7 +195,7 @@ return view.extend({
|
|||||||
|
|
||||||
o = s.taboption('advance', form.ListValue, 'exitNode', _('Online Exit Nodes'), _('Select an online machine name to use as an exit node.'));
|
o = s.taboption('advance', form.ListValue, 'exitNode', _('Online Exit Nodes'), _('Select an online machine name to use as an exit node.'));
|
||||||
if (onlineExitNodes.length > 0) {
|
if (onlineExitNodes.length > 0) {
|
||||||
o.optional = false;
|
o.optional = true;
|
||||||
onlineExitNodes.forEach(function(node) {
|
onlineExitNodes.forEach(function(node) {
|
||||||
o.value(node, node);
|
o.value(node, node);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user