mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
reset location hash on logout to avoid reloading possible unaccessible list
This commit is contained in:
parent
c50b039cb2
commit
26567ee59b
1 changed files with 1 additions and 0 deletions
|
|
@ -2478,6 +2478,7 @@ function logout()
|
|||
{
|
||||
$.post(mytinytodo.mttUrl+'ajax.php?logout', { logout:1 }, function(json){
|
||||
flag.isLogged = false;
|
||||
window.location.hash = '';
|
||||
window.location.reload();
|
||||
}, 'json');
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue