diff --git a/index.html b/index.html index 46c63de..b673141 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,10 @@ window.onload = clear; function clear() { - str_hostname = punycode.toUnicode(location.host).replace(/\./g, " ") - document.body.innerHTML = str_hostname.replace(".saynul.eu", ", c'est nul !"); + str_hostname = punycode.toUnicode(location.host) + str_hostname = str_hostname.replace(".saynul.eu", ", c'est nul !"); + str_hostname = str_hostname.replace(/\./g, " "); + document.body.innerHTML = str_hostname; };