Reload page after changing navigation preference

Closes #34968
This commit is contained in:
Phil Hughes 2017-07-13 09:54:41 +01:00
parent d741df1dfb
commit 6900dff23d
1 changed files with 3 additions and 0 deletions

View File

@ -7,5 +7,8 @@ export default () => {
Cookies.set(el.name, el.value, {
expires: 365 * 10,
});
document.body.scrollTop = 0;
window.location.reload();
});
};