From e32519774887613595f55d93570ffc7a9598a9b4 Mon Sep 17 00:00:00 2001
From: Gnome Ann <>
Date: Thu, 30 Sep 2021 10:57:29 -0400
Subject: [PATCH] Fix for submitting memory/AN when memory is empty
---
static/application.js | 3 +--
templates/index.html | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/static/application.js b/static/application.js
index 17076459..51767f10 100644
--- a/static/application.js
+++ b/static/application.js
@@ -495,8 +495,7 @@ function returnWiList(ar) {
function dosubmit() {
var txt = input_text.val().replace(/\u00a0/g, " ");
- console.log(gamestarted)
- if(!gamestarted && ((!adventure || !action_mode) && txt.trim().length == 0)) {
+ if(!memorymode && !gamestarted && ((!adventure || !action_mode) && txt.trim().length == 0)) {
return;
}
socket.send({'cmd': 'submit', 'actionmode': adventure ? action_mode : 0, 'data': txt});
diff --git a/templates/index.html b/templates/index.html
index 8e3558b9..7098a824 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -6,7 +6,7 @@
-
+