diff options
author | Mario <mario@mariovavti.com> | 2021-08-17 18:37:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-17 18:37:19 +0000 |
commit | 69d909596a0011ae902f834bd79251136f5d5bba (patch) | |
tree | a05f46eeae8ddbf190b9fbeecced792875ff057c /view | |
parent | dd296e1aaa3c7b992d7ec71a50ce92f74f78ca06 (diff) | |
download | volse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.tar.gz volse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.tar.bz2 volse-hubzilla-69d909596a0011ae902f834bd79251136f5d5bba.zip |
only redirect to hq if local
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index 1a51652c9..db844a6f0 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -159,13 +159,13 @@ $(document).ready(function() { let notify_id = $(this).data('notify_id'); let path = $(this)[0].pathname.split('/')[1]; let stateObj = { b64mid: b64mid }; - let singlethread_modules = ['display', 'hq', 'dm']; + let singlethread_modules = ['display', 'hq']; let redirect_modules = ['display', 'notify']; if(! b64mid && ! notify_id) return; - if(redirect_modules.indexOf(path) !== -1) { + if(localUser && redirect_modules.indexOf(path) !== -1) { path = 'hq'; } |