diff --git a/client/lib/utils.js b/client/lib/utils.js index 156b37e4b..e91d08380 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -48,8 +48,6 @@ Utils = { let sort = window.localStorage.getItem('myCardsSort'); if (!sort || !['board', 'dueAt'].includes(sort)) { - window.localStorage.setItem('myCardsSort', 'board'); - location.reload(); sort = 'board'; } @@ -81,8 +79,6 @@ Utils = { let view = window.localStorage.getItem('dueCardsView'); if (!view || !['me', 'all'].includes(view)) { - window.localStorage.setItem('dueCardsView', 'me'); - location.reload(); view = 'me'; }