From 452b46146b9478ede4208e18a73900fab060223a Mon Sep 17 00:00:00 2001
From: Gnome Ann <>
Date: Wed, 22 Dec 2021 12:19:36 -0500
Subject: [PATCH] Messages should be hidden on loading a save, softprompt or
script
---
static/application.js | 5 +++++
templates/index.html | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/static/application.js b/static/application.js
index 3296348e..ad747d48 100644
--- a/static/application.js
+++ b/static/application.js
@@ -2205,6 +2205,7 @@ $(document).ready(function(){
});
load_accept.on("click", function(ev) {
+ hideMessage();
newly_loaded = true;
socket.send({'cmd': 'loadrequest', 'data': ''});
hideLoadPopup();
@@ -2215,6 +2216,7 @@ $(document).ready(function(){
});
sp_accept.on("click", function(ev) {
+ hideMessage();
socket.send({'cmd': 'sprequest', 'data': ''});
hideSPPopup();
});
@@ -2225,6 +2227,7 @@ $(document).ready(function(){
});
us_accept.on("click", function(ev) {
+ hideMessage();
socket.send({'cmd': 'usloaded', 'data': usloaded.find(".uslistitem").map(function() { return $(this).attr("name"); }).toArray()});
socket.send({'cmd': 'usload', 'data': ''});
hideUSPopup();
@@ -2235,6 +2238,7 @@ $(document).ready(function(){
});
ns_accept.on("click", function(ev) {
+ hideMessage();
socket.send({'cmd': 'newgame', 'data': ''});
hideNewStoryPopup();
});
@@ -2267,6 +2271,7 @@ $(document).ready(function(){
});
rs_accept.on("click", function(ev) {
+ hideMessage();
socket.send({'cmd': 'rndgame', 'data': topic.val()});
hideRandomStoryPopup();
});
diff --git a/templates/index.html b/templates/index.html
index 8451bbae..5997720f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -10,7 +10,7 @@
-
+