enh: temporary-chat url search param
This commit is contained in:
1 parent
a93b0ac143
commit
dc4c6b3b14
3 files changed
+19
-3
No files matched your search
@@ -270,9 +270,11 @@
|
||||
//////////////////////////
|
||||
|
||||
const initNewChat = async () => {
|
||||
window.history.replaceState(history.state, '', `/`);
|
||||
await chatId.set('');
|
||||
if ($page.url.pathname.includes('/c/')) {
|
||||
window.history.replaceState(history.state, '', `/`);
|
||||
}
|
||||
|
||||
await chatId.set('');
|
||||
autoScroll = true;
|
||||
|
||||
title = '';
|
||||
|
||||
Reference in new issue
Block a user