summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-10 11:59:52 +0300
committerAndrew Dolgov <[email protected]>2021-03-10 11:59:52 +0300
commitbdc72e5b6332bb395db4419ea6e9f1550ec331ab (patch)
tree770ec74a7474135cc0d9cd3c78d7f45783e9538a /js
parentdf9c389cbfde122d0e78af739fecd644b3aa07cb (diff)
fix headlines-spacer height in grid mode
Diffstat (limited to 'js')
-rw-r--r--js/App.js5
1 files changed, 1 insertions, 4 deletions
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