mirror of
https://github.com/pi-hole/web.git
synced 2025-12-23 04:08:39 +00:00
Be explicit about window.location
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -239,7 +239,7 @@ $(".nav-tabs a").on("shown.bs.tab", function (e) {
|
||||
window.history.pushState("", "", "?tab=" + tab);
|
||||
if(tab === "piholedhcp")
|
||||
{
|
||||
location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user