luci-base: space -> tab
authorPaul Donald <newtwen+github@gmail.com>
Thu, 17 Oct 2024 03:01:57 +0000 (05:01 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 17 Oct 2024 15:31:26 +0000 (17:31 +0200)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-base/htdocs/luci-static/resources/network.js
modules/luci-base/htdocs/luci-static/resources/ui.js

index d91c02065e1d46c3303698c30917bb6353fbefd9..3bd344a61ebf6373dd45a6bbf9cfebe15b18f76b 100644 (file)
@@ -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);
                                }
                        }
                }
index dec8f8aad3e8c7558ba263215d71d7bdecb71286..1940959c858c1ef926d72383166449aefb1d028f 100644 (file)
@@ -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');