Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
f6e83961
"src/vscode:/vscode.git/clone" did not exist on "24403aea73bc160a60f20a8f09c1dfb9eb84bb89"
Commit
f6e83961
authored
Apr 16, 2024
by
Timothy J. Baek
Browse files
refac
parent
2a79c306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+12
-4
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
f6e83961
...
@@ -62,14 +62,22 @@
...
@@ -62,14 +62,22 @@
}
}
}
}
document.addEventListener('t
ouch
s
tart
',
(e) => {
const onT
ouch
S
tart
=
(e) => {
touchstartX = e.changedTouches[0].screenX;
touchstartX = e.changedTouches[0].screenX;
}
)
;
};
document.addEventListener('t
ouch
e
nd
',
(e) => {
const onT
ouch
E
nd
=
(e) => {
touchendX = e.changedTouches[0].screenX;
touchendX = e.changedTouches[0].screenX;
checkDirection();
checkDirection();
});
};
document.addEventListener('touchstart', onTouchStart);
document.addEventListener('touchend', onTouchEnd);
return () => {
document.removeEventListener('touchstart', onTouchStart);
document.removeEventListener('touchend', onTouchEnd);
};
});
});
// Helper function to fetch and add chat content to each chat
// Helper function to fetch and add chat content to each chat
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment