fix previous to not crash in prefs
This commit is contained in:
parent
5e007e0090
commit
a1c595687e
|
@ -318,8 +318,10 @@ define(["dojo/_base/declare"], function (declare) {
|
||||||
_label_base_index = parseInt(params[k]);
|
_label_base_index = parseInt(params[k]);
|
||||||
break;
|
break;
|
||||||
case "cdm_auto_catchup":
|
case "cdm_auto_catchup":
|
||||||
if (params[k] == 1)
|
if (params[k] == 1) {
|
||||||
$("headlines-frame").addClassName("auto_catchup");
|
const hl = $("headlines-frame");
|
||||||
|
if (hl) hl.addClassName("auto_catchup");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "hotkeys":
|
case "hotkeys":
|
||||||
// filter mnemonic definitions (used for help panel) from hotkeys map
|
// filter mnemonic definitions (used for help panel) from hotkeys map
|
||||||
|
|
Loading…
Reference in New Issue