Commit 6900dff2 authored by Phil Hughes's avatar Phil Hughes

Reload page after changing navigation preference

Closes #34968
parent d741df1d
...@@ -7,5 +7,8 @@ export default () => { ...@@ -7,5 +7,8 @@ export default () => {
Cookies.set(el.name, el.value, { Cookies.set(el.name, el.value, {
expires: 365 * 10, expires: 365 * 10,
}); });
document.body.scrollTop = 0;
window.location.reload();
}); });
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment