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 @@ - +