Skip to content

Commit

Permalink
Clarify label (better)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fb-martin committed Dec 30, 2020
1 parent 2bb25d7 commit 4eab572
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 4eab572

Please sign in to comment.