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 268c3c2e3304648e67b1a499530b648492e4b197 Author: Daniel Gruno <[email protected]> AuthorDate: Sun Nov 21 18:47:20 2021 +0100 only trigger this from list.html, not index.html --- webui/js/source/listview-header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/js/source/listview-header.js b/webui/js/source/listview-header.js index ef29bc4..833ccc3 100644 --- a/webui/js/source/listview-header.js +++ b/webui/js/source/listview-header.js @@ -342,7 +342,7 @@ function switch_list(list, from) { window.addEventListener('orientationchange', function() { window.setTimeout(function() { - if (anyOpen() == false) { + if (anyOpen() == false && location.href.match(/\/list(\.html)?/)) { listview_header(prev_listview_state, prev_listview_json); } }, 100);
