Browse Source

Merge pull request #967 from mcspr/web-rel-deviceip

Use relative protocol for deviceip href
rfm69
Xose Pérez 6 years ago
committed by GitHub
parent
commit
97e91e1676
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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