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 15:46:08 -0700
committerGitHub <noreply@github.com>2023-12-11 15:46:08 -0700
commitf8bd034075f375a134d9b0507da03ddfa2be5e0a (patch)
tree3a53e748ee608df678c596f21ace66d62e6ae13c /applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/https-dns-proxy/status.js
parent6dff72b1cd20bd878e24f9b2fc05b4ecc858d607 (diff)
parent799280877fbe7a43dab9c3af1dd509519e2f542b (diff)
Merge pull request #6761 from stangri/master-luci-app-https-dns-proxy
luci-app-https-dns-proxy: update to 2023-10-25-5
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]);
});
},