diff --git a/contrib/dokku-installer.py b/contrib/dokku-installer.py index 1242ae73e..cf9479167 100755 --- a/contrib/dokku-installer.py +++ b/contrib/dokku-installer.py @@ -357,7 +357,7 @@ PAGE = """ $("#example").textContent = "http://"+$("#hostname").value+":" } } - $("#vhost").addEventListener("input", update); + $("#vhost").addEventListener("change", update); $("#hostname").addEventListener("input", update); update();