1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:25:55 +00:00

headlines-spacer: only set 100% height if auto catchup is enabled

This commit is contained in:
Andrew Dolgov
2018-12-09 16:02:20 +03:00
parent 42780ddeb3
commit 5e007e0090
6 changed files with 16 additions and 5 deletions

View File

@@ -317,6 +317,10 @@ define(["dojo/_base/declare"], function (declare) {
case "label_base_index":
_label_base_index = parseInt(params[k]);
break;
case "cdm_auto_catchup":
if (params[k] == 1)
$("headlines-frame").addClassName("auto_catchup");
break;
case "hotkeys":
// filter mnemonic definitions (used for help panel) from hotkeys map
// i.e. *(191)|Ctrl-/ -> *(191)