diff options
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-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'); |