mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- bugfix: sometimes incorrect loadLists() after logout
This commit is contained in:
parent
79bb4f7ed7
commit
5abfd99c79
1 changed files with 2 additions and 2 deletions
|
|
@ -504,9 +504,9 @@ function logout()
|
|||
setAjaxErrorTrigger();
|
||||
$.post('ajax.php?rnd='+Math.random(), { logout:1 }, function(json){
|
||||
resetAjaxErrorTrigger();
|
||||
flag.isLogged = false;
|
||||
loadLists(0,1);
|
||||
}, 'json');
|
||||
flag.isLogged = false;
|
||||
loadLists(0,1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue