summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-09 11:11:12 +0300
committerDevaev Maxim <[email protected]>2020-07-09 11:11:12 +0300
commite390914c7ee8441088986a9e1e1dcc629c88aab9 (patch)
tree12e3e7f070a358408c840159775ef1674aafe9ee /web/share/js/kvm/session.js
parentdc5b8c2522aaefe11a5d7ce1f27cadcd5d193d75 (diff)
fix
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index 6c14fbdf..ec7a34bd 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -56,7 +56,7 @@ export function Session() {
/************************************************************************/
var __setAboutInfoMeta = function(state) {
- if (state != null) {
+ if (state !== null) {
let text = JSON.stringify(state, undefined, 4).replace(/ /g, "&nbsp;").replace(/\n/g, "<br>");
$("about-meta").innerHTML = `
<span class="code-comment">// The Pi-KVM metadata.<br>
@@ -142,7 +142,7 @@ export function Session() {
var __formatUname = function(kernel) {
let pairs = [];
for (let field of Object.keys(kernel).sort()) {
- if (field != "system") {
+ if (field !== "system") {
pairs.push([tools.upperFirst(field), kernel[field]]);
}
}