summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources/network.js
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-10-17 05:01:57 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-10-17 17:31:26 +0200
commitade3606800a321e82082b2b7d6ba991e70ac996c (patch)
tree0b33c4106591387f99f3b5e90259941044bd11bd /modules/luci-base/htdocs/luci-static/resources/network.js
parent46fb56000f21731d403f302f79f238cde4edc9b9 (diff)
luci-base: space -> tab
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/network.js')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js
index d91c02065e..3bd344a61e 100644
--- a/modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/modules/luci-base/htdocs/luci-static/resources/network.js
@@ -2158,8 +2158,8 @@ Protocol = baseclass.extend(/** @lends LuCI.network.Protocol.prototype */ {
var prefixes = [...v6_prefixes, ...v6_addresses];
if(prefixes.length && typeof(prefixes[0].valid) == 'number') {
- var r = prefixes[0].valid;
- return (r > 0 ? r : 0);
+ var r = prefixes[0].valid;
+ return (r > 0 ? r : 0);
}
}
}