Browse Source

Use relative protocol for deviceip href

rfm69
Maxim Prokhorov 6 years ago
parent
commit
857969b8ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/html/custom.js

+ 1
- 1
code/html/custom.js View File

@ -1291,7 +1291,7 @@ function processData(data) {
if ("deviceip" === key) { if ("deviceip" === key) {
var a_href = $("span[name='" + key + "']").parent(); var a_href = $("span[name='" + key + "']").parent();
a_href.attr("href", "http://" + value);
a_href.attr("href", "//" + value);
a_href.next().attr("href", "telnet://" + value); a_href.next().attr("href", "telnet://" + value);
} }


Loading…
Cancel
Save