diff --git a/docs/main.js b/docs/main.js index 1107757b..faf392e5 100644 --- a/docs/main.js +++ b/docs/main.js @@ -165,5 +165,5 @@ window.onpopstate = function (event) { function tohomeurl() { var hostname = window.location.hostname; - window.open(window.location.protocol + hostname.substring(5)); + window.open(window.location.protocol + '//' + hostname.substring(5)); } \ No newline at end of file