From 69d909596a0011ae902f834bd79251136f5d5bba Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 17 Aug 2021 18:37:19 +0000 Subject: only redirect to hq if local --- view/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js') 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'; } -- cgit v1.2.3