We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb25d7 commit 4eab572Copy full SHA for 4eab572
public/config.html
@@ -635,7 +635,10 @@
635
button.className = 'configactionbutton';
636
button.onclick = sprinklerRequestRefresh;
637
button.onclickUrl = 'http://'+response.host+'/sprinkler/config';
638
- button.innerHTML = 'Import from '+response.host;
+ if (response.host.toUpperCase() == location.hostname.toUpperCase())
639
+ button.innerHTML = 'Reload from '+response.host;
640
+ else
641
+ button.innerHTML = 'Import from '+response.host;
642
bottom.appendChild(button);
643
}
644
0 commit comments