diff options
author | Paul Donald <newtwen+github@gmail.com> | 2024-10-17 05:01:57 +0200 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-10-17 17:31:26 +0200 |
commit | ade3606800a321e82082b2b7d6ba991e70ac996c (patch) | |
tree | 0b33c4106591387f99f3b5e90259941044bd11bd | |
parent | 46fb56000f21731d403f302f79f238cde4edc9b9 (diff) |
luci-base: space -> tab
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/network.js | 4 | ||||
-rw-r--r-- | 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'); |