From 857969b8fff88da8774fb9eb60d160d258e99d7c Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Fri, 22 Jun 2018 06:00:41 +0300 Subject: [PATCH] Use relative protocol for deviceip href --- code/html/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/html/custom.js b/code/html/custom.js index 0e3f2a61..fcc79450 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -1291,7 +1291,7 @@ function processData(data) { if ("deviceip" === key) { 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); }