From bdc72e5b6332bb395db4419ea6e9f1550ec331ab Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 11:59:52 +0300 Subject: fix headlines-spacer height in grid mode --- js/App.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js') diff --git a/js/App.js b/js/App.js index 82c84ce3c..78784f3a7 100644 --- a/js/App.js +++ b/js/App.js @@ -514,10 +514,7 @@ const App = { this.LABEL_BASE_INDEX = parseInt(params[k]); break; case "cdm_auto_catchup": - if (params[k] == 1) { - const hl = App.byId("headlines-frame"); - if (hl) hl.addClassName("auto_catchup"); - } + App.byId("headlines-frame").setAttribute("data-auto-catchup", params[k] ? "true" : "false"); break; case "hotkeys": // filter mnemonic definitions (used for help panel) from hotkeys map -- cgit v1.2.3