This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit acc70c2f98a349d5f0bde69bc49009fb679b4117
Author: Daniel Gruno <[email protected]>
AuthorDate: Sat Sep 11 17:47:58 2021 -0500

    thread.html is usually without the .html in the URL
---
 webui/js/source/key-commands.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webui/js/source/key-commands.js b/webui/js/source/key-commands.js
index 4c26e20..19ed423 100644
--- a/webui/js/source/key-commands.js
+++ b/webui/js/source/key-commands.js
@@ -92,7 +92,7 @@ function hideWindows(force_all) {
     }
     
     // if viewing a single thread, disregard the collapses below - the won't 
make sense!
-    if (location.href.match(/thread\.html/)) return;
+    if (location.href.match(/thread(?:\.html)?/)) return;
     
     // Finally, check for other opened emails, close 'em all
     let placeholders = document.getElementsByClassName('email_placeholder');

Reply via email to