Don't destroy local storage on ctrl+arrow

This commit is contained in:
SillyLossy
2023-03-29 17:15:16 +03:00
parent 8847c0b81c
commit f94dd07ae5
2 changed files with 2 additions and 1 deletions

View File

@ -412,9 +412,11 @@ $("document").ready(function () {
if (event.ctrlKey && event.key == "ArrowLeft") { //for debug, show all local stored vars
CheckLocal();
}
/*
if (event.ctrlKey && event.key == "ArrowRight") { //for debug, empty local storage state
ClearLocal();
}
*/
if (event.key == "ArrowLeft") { //swipes left
if (
$(".swipe_left:last").css('display') === 'flex' &&

View File

@ -39,7 +39,6 @@ https://colab.research.google.com/github/SillyLossy/TavernAI-extras/blob/main/co
* HotKeys
* Ctrl+Up = Connect to API
* Ctrl+Left = view locally stored variables (in the browser console window)
* Ctrl+Right = clear locally stored variables.
* Ctrl+Enter = Regenerate last AI response.
* User Name Changes and Character Deletion no longer force the page to refresh.