diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-11 17:44:51 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-11 17:44:51 -0700 |
commit | 953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8 (patch) | |
tree | ae1e1d45d6c7f43db0686aec4f32bdfc33286ff2 /view/js/main.js | |
parent | 2fa9645dfc4dc640d7460f069fc9536cce1e4fd2 (diff) | |
parent | 3bd645033330c2db0952e57db1516274487c0712 (diff) | |
download | volse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.tar.gz volse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.tar.bz2 volse-hubzilla-953a2fd9b2db0c0f0b1cf54c766a1e39002eaea8.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index dd7b81ad4..02f2f6a3d 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -25,13 +25,14 @@ var liveRecurse = 0; var savedTitle = ''; var initialLoad = true; -// Clear the session storage if we switch channel or log out +// Clear the session and local storage if we switch channel or log out var cache_uid = ''; if(sessionStorage.getItem('uid') !== null) { cache_uid = sessionStorage.getItem('uid'); } if(cache_uid !== localUser.toString()) { sessionStorage.clear(); + localStorage.clear(); sessionStorage.setItem('uid', localUser.toString()); } |