summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-12-11 13:06:12 +0000
committerStan Grishin <stangri@melmac.ca>2023-12-11 13:06:20 +0000
commit799280877fbe7a43dab9c3af1dd509519e2f542b (patch)
treeced230dd0841e11603776888dea968aecb8195db /applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
parent61ff84a99e97ba449a50a7cfc496c03919ab836e (diff)
luci-app-https-dns-proxy: update to 2023-10-25-5
* no longer "require uci" in js files * use L.resolveDefault when loading configs * improve DNSMASQ config update selection user experience * switch from uci.get to L.uci.get * small code improvement of RPCD script Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js')
-rw-r--r--applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js b/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
index 24efea0fce..0ae128b923 100644
--- a/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
+++ b/applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
@@ -6,7 +6,6 @@
"require ui";
"require rpc";
-"require uci";
"require form";
"require baseclass";
@@ -414,11 +413,9 @@ var status = baseclass.extend({
btn_disable,
]);
var buttonsField = E("div", { class: "cbi-value-field" }, buttonsText);
- var buttonsDiv = reply.status.version ?
- E('div', {class: 'cbi-value'}, [
- buttonsTitle,
- buttonsField,
- ]) : '';
+ var buttonsDiv = reply.status.version
+ ? E("div", { class: "cbi-value" }, [buttonsTitle, buttonsField])
+ : "";
return E("div", {}, [header, statusDiv, instancesDiv, buttonsDiv]);
});
},