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 382ee95294e29c5ee3ab9487ae0ba4208fa980ed Author: Daniel Gruno <[email protected]> AuthorDate: Mon Nov 15 18:33:09 2021 +0100 log change --- webui/js/source/construct-thread.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webui/js/source/construct-thread.js b/webui/js/source/construct-thread.js index 815431e..972d083 100644 --- a/webui/js/source/construct-thread.js +++ b/webui/js/source/construct-thread.js @@ -129,6 +129,7 @@ function construct_single_thread(state, json) { if (json.thread) { let url_to_push = location.href.replace(/[^/]+$/, "") + json.thread.id; if (location.href != url_to_push) { + console.log("URL differs from default permalink, pushing correct ID to history."); window.history.pushState({}, json.thread.subject, url_to_push) } }
