Skip to content

Commit 4eab572

Browse files
Clarify label (better)
1 parent 2bb25d7 commit 4eab572

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public/config.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,10 @@
635635
button.className = 'configactionbutton';
636636
button.onclick = sprinklerRequestRefresh;
637637
button.onclickUrl = 'http://'+response.host+'/sprinkler/config';
638-
button.innerHTML = 'Import from '+response.host;
638+
if (response.host.toUpperCase() == location.hostname.toUpperCase())
639+
button.innerHTML = 'Reload from '+response.host;
640+
else
641+
button.innerHTML = 'Import from '+response.host;
639642
bottom.appendChild(button);
640643
}
641644
}

0 commit comments

Comments
 (0)