diff options
author | Andrew Dolgov <[email protected]> | 2021-03-10 11:59:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-10 11:59:52 +0300 |
commit | bdc72e5b6332bb395db4419ea6e9f1550ec331ab (patch) | |
tree | 770ec74a7474135cc0d9cd3c78d7f45783e9538a /js | |
parent | df9c389cbfde122d0e78af739fecd644b3aa07cb (diff) |
fix headlines-spacer height in grid mode
Diffstat (limited to 'js')
-rw-r--r-- | js/App.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |