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 fe71caf5a087532f89a66470d5a1d6c3a5ad9622 Author: Daniel Gruno <[email protected]> AuthorDate: Sun Nov 21 18:49:47 2021 +0100 only trigger if a list is selected --- 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 833ccc3..52e83e5 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 && location.href.match(/\/list(\.html)?/)) { + if (anyOpen() == false && location.href.match(/\/list(\.html)?/) && location.search.length) { listview_header(prev_listview_state, prev_listview_json); } }, 100);
