Skip to content

Commit

Permalink
[mobile] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Dec 16, 2024
1 parent 72afa9e commit aa886f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/api/documents/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@
if ( msg.data ) {
if ( msg.data.force )
localStorage.setItem(param, true);
else
if ( localStorage.getItem(param) !== null )
localStorage.removeItem(param);

if ( msg.data.restart )
window.location.reload();
} else
if ( localStorage.getItem(param) !== null ) {
localStorage.removeItem(param);
}
} else {
if (msg.event === 'onAppReady') {
Expand Down

0 comments on commit aa886f4

Please sign in to comment.