diff --git a/public/config.html b/public/config.html index 25a890b..593c0c1 100644 --- a/public/config.html +++ b/public/config.html @@ -635,7 +635,10 @@ button.className = 'configactionbutton'; button.onclick = sprinklerRequestRefresh; button.onclickUrl = 'http://'+response.host+'/sprinkler/config'; - button.innerHTML = 'Import from '+response.host; + if (response.host.toUpperCase() == location.hostname.toUpperCase()) + button.innerHTML = 'Reload from '+response.host; + else + button.innerHTML = 'Import from '+response.host; bottom.appendChild(button); } }