mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 03:54:40 +04:00
luci-base: space -> tab
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -2158,8 +2158,8 @@ Protocol = baseclass.extend(/** @lends LuCI.network.Protocol.prototype */ {
|
|||||||
var prefixes = [...v6_prefixes, ...v6_addresses];
|
var prefixes = [...v6_prefixes, ...v6_addresses];
|
||||||
|
|
||||||
if(prefixes.length && typeof(prefixes[0].valid) == 'number') {
|
if(prefixes.length && typeof(prefixes[0].valid) == 'number') {
|
||||||
var r = prefixes[0].valid;
|
var r = prefixes[0].valid;
|
||||||
return (r > 0 ? r : 0);
|
return (r > 0 ? r : 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1255,7 +1255,7 @@ var UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ {
|
|||||||
sb.setAttribute('open', '');
|
sb.setAttribute('open', '');
|
||||||
|
|
||||||
var pv = ul.cloneNode(true);
|
var pv = ul.cloneNode(true);
|
||||||
pv.classList.add('preview');
|
pv.classList.add('preview');
|
||||||
|
|
||||||
if (fl)
|
if (fl)
|
||||||
fl.classList.add('cbi-dropdown-open');
|
fl.classList.add('cbi-dropdown-open');
|
||||||
|
|||||||
Reference in New Issue
Block a user