From b69a60a8ad9904ec8a116ba3a36bd5b68dde0d34 Mon Sep 17 00:00:00 2001 From: kleph Date: Mon, 30 Mar 2015 18:39:47 +0200 Subject: [PATCH] Replace dots in hostname by spaces in printed string --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d51c48d..46c63de 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ window.onload = clear; function clear() { - str_hostname = punycode.toUnicode(location.host) + str_hostname = punycode.toUnicode(location.host).replace(/\./g, " ") document.body.innerHTML = str_hostname.replace(".saynul.eu", ", c'est nul !"); };