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);
}