"python/vscode:/vscode.git/clone" did not exist on "c951d312ed667d3269cb5120dcabd24c61f7c493"
Unverified Commit 13881bee authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #328 from ollama-webui/shortcut-fix

fix: toggle settings shortcut fix
parents 0890b53e bf40695e
......@@ -135,7 +135,7 @@
<div
class=" h-fit py-1 px-2 flex items-center justify-center rounded border border-black/10 capitalize text-gray-600 dark:border-white/10 dark:text-gray-300"
>
S
.
</div>
</div>
</div>
......
......@@ -160,8 +160,8 @@
document.getElementById('delete-chat-button')?.click();
}
// Check if Ctrl + S is pressed
if (isCtrlPressed && event.key.toLowerCase() === 's') {
// Check if Ctrl + . is pressed
if (isCtrlPressed && event.key === '.') {
event.preventDefault();
console.log('openSettings');
document.getElementById('open-settings-button')?.click();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment