From ade3606800a321e82082b2b7d6ba991e70ac996c Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 17 Oct 2024 05:01:57 +0200 Subject: [PATCH] luci-base: space -> tab Signed-off-by: Paul Donald --- modules/luci-base/htdocs/luci-static/resources/network.js | 4 ++-- modules/luci-base/htdocs/luci-static/resources/ui.js | 2 +- 2 files changed, 3 insertions(+), 3 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); } } } diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index dec8f8aad3..1940959c85 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1255,7 +1255,7 @@ var UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { sb.setAttribute('open', ''); var pv = ul.cloneNode(true); - pv.classList.add('preview'); + pv.classList.add('preview'); if (fl) fl.classList.add('cbi-dropdown-open'); -- 2.30.2